Rushabh Mehta 11 years ago
parent
commit
db8b42e081
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/legacy/form.js

+ 1
- 1
frappe/public/js/legacy/form.js View File

@@ -792,7 +792,7 @@ _f.Frm.prototype.add_custom_button = function(label, fn, icon) {
return this.appframe.add_primary_action(label, fn, icon || "icon-arrow-right"); return this.appframe.add_primary_action(label, fn, icon || "icon-arrow-right");
} }
_f.Frm.prototype.clear_custom_buttons = function() { _f.Frm.prototype.clear_custom_buttons = function() {
this.toolbar.clear_primary_action()
this.appframe.clear_primary_action()
} }


_f.Frm.prototype.add_fetch = function(link_field, src_field, tar_field) { _f.Frm.prototype.add_fetch = function(link_field, src_field, tar_field) {


Loading…
Cancel
Save