fix(ux): Scroll to respective field in system settings via action
(cherry picked from commit 4b597571b4322358aa5f1e35c5feb8465634a448)
This commit is contained in:
parent
3e0a526f70
commit
98a807af89
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,9 @@ frappe.pages["backups"].on_page_load = function (wrapper) {
|
|||
});
|
||||
|
||||
page.add_inner_button(__("Set Number of Backups"), function () {
|
||||
frappe.set_route("Form", "System Settings");
|
||||
frappe.set_route("Form", "System Settings").then(() => {
|
||||
cur_frm.scroll_to_field("backup_limit");
|
||||
});
|
||||
});
|
||||
|
||||
page.add_inner_button(__("Download Files Backup"), function () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue