Merge pull request #35858 from sokumon/remove-edit-button
This commit is contained in:
commit
92f1e7e051
3 changed files with 3 additions and 5 deletions
|
|
@ -637,7 +637,7 @@
|
|||
"fieldname": "desk_theme",
|
||||
"fieldtype": "Select",
|
||||
"label": "Desk Theme",
|
||||
"options": "Automatic\nLight\nDark"
|
||||
"options": "Light\nDark\nAutomatic"
|
||||
},
|
||||
{
|
||||
"fieldname": "module_profile",
|
||||
|
|
@ -910,7 +910,7 @@
|
|||
}
|
||||
],
|
||||
"make_attachments_public": 1,
|
||||
"modified": "2026-01-06 17:17:44.906709",
|
||||
"modified": "2026-01-12 16:04:21.542524",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "User",
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ class User(Document):
|
|||
default_app: DF.Literal[None]
|
||||
default_workspace: DF.Link | None
|
||||
defaults: DF.Table[DefaultValue]
|
||||
desk_theme: DF.Literal["Automatic", "Light", "Dark"]
|
||||
desk_theme: DF.Literal["Light", "Dark", "Automatic"]
|
||||
document_follow_frequency: DF.Literal["Hourly", "Daily", "Weekly"]
|
||||
document_follow_notify: DF.Check
|
||||
email: DF.Data
|
||||
|
|
|
|||
|
|
@ -231,7 +231,6 @@ class DesktopPage {
|
|||
this.$desktop_edit_button.on("click", () => {
|
||||
frappe.new_desktop_icons = JSON.parse(JSON.stringify(frappe.desktop_icons));
|
||||
me.start_editing_layout();
|
||||
me.$desktop_edit_button.hide();
|
||||
});
|
||||
}
|
||||
setup_editing_mode() {
|
||||
|
|
@ -398,7 +397,6 @@ class DesktopPage {
|
|||
if (frappe.get_route()[0] == "desktop" || frappe.get_route()[0] == "")
|
||||
me.setup_navbar();
|
||||
else {
|
||||
me.$desktop_edit_button.remove();
|
||||
$(".navbar").show();
|
||||
frappe.desktop_utils.close_desktop_modal();
|
||||
// stop edit mode if route changes and cleanup
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue