Browse Source

Merge pull request #1748 from MaxMorais/patch-19

Unset `toolbar.current_status` on `disable_save`
version-14
Rushabh Mehta 9 years ago
parent
commit
5e8dab3dba
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/public/js/legacy/form.js

+ 1
- 0
frappe/public/js/legacy/form.js 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();
}



Loading…
Cancel
Save