on cur_frm.clear_custom_buttons call refresh_toolbar of form header

This commit is contained in:
Anand Doshi 2012-06-18 18:05:00 +05:30
parent 3be70dd0a6
commit 0bef23f8aa

View file

@ -369,7 +369,7 @@ _f.Frm.prototype.add_custom_button = function(label, fn, icon) {
this.frm_head.appframe.add_button(label, fn, icon);
}
_f.Frm.prototype.clear_custom_buttons = function() {
//
this.frm_head.refresh_toolbar()
}
// --------------------------------------------------------------------------------------