Merge pull request #1748 from MaxMorais/patch-19

Unset `toolbar.current_status` on `disable_save`
This commit is contained in:
Rushabh Mehta 2016-05-10 11:26:04 +05:30
commit 5e8dab3dba

View file

@ -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();
}