fix: prevent focus on empty mandatory field on save
This commit is contained in:
parent
d2586bf840
commit
e737289c24
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ frappe.ui.form.check_mandatory = function (frm) {
|
|||
}
|
||||
|
||||
function scroll_to(fieldname) {
|
||||
if (frm.scroll_to_field(fieldname)) {
|
||||
if (frm.scroll_to_field(fieldname, false)) {
|
||||
frm.scroll_set = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue