hide toolbar only hides std buttons
This commit is contained in:
parent
7b60f7b71b
commit
211ef96cae
1 changed files with 2 additions and 2 deletions
|
|
@ -127,13 +127,13 @@ _f.FrmHeader = Class.extend({
|
|||
refresh_toolbar: function() {
|
||||
// clear
|
||||
var me = this;
|
||||
this.appframe.clear_buttons();
|
||||
|
||||
if(this.frm.meta.hide_toolbar) {
|
||||
this.appframe.$w.find('.appframe-toolbar').toggle(false);
|
||||
this.frm.save_disabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
this.appframe.clear_buttons();
|
||||
var p = this.frm.perm[0];
|
||||
|
||||
// Edit
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue