disable save to be called in refresh event
This commit is contained in:
parent
5ce618ba22
commit
dd96ea4621
1 changed files with 1 additions and 0 deletions
|
|
@ -967,6 +967,7 @@ _f.Frm.prototype.amend_doc = function() {
|
|||
}
|
||||
|
||||
_f.Frm.prototype.disable_save = function() {
|
||||
// IMPORTANT: this function should be called in refresh event
|
||||
cur_frm.save_disabled = true;
|
||||
cur_frm.page_layout.footer.hide_save();
|
||||
cur_frm.frm_head.appframe.buttons.Save.toggle(false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue