Merge pull request #1748 from MaxMorais/patch-19
Unset `toolbar.current_status` on `disable_save`
This commit is contained in:
commit
5e8dab3dba
1 changed files with 1 additions and 0 deletions
|
|
@ -803,6 +803,7 @@ _f.Frm.prototype.amend_doc = function() {
|
|||
_f.Frm.prototype.disable_save = function() {
|
||||
// IMPORTANT: this function should be called in refresh event
|
||||
this.save_disabled = true;
|
||||
this.toolbar.current_status = null;
|
||||
this.page.clear_primary_action();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue