appframe bugfix
This commit is contained in:
parent
15b5bc9ac7
commit
6e58134ccf
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ wn.ui.AppFrame = Class.extend({
|
|||
return this.buttons[label];
|
||||
},
|
||||
clear_buttons: function() {
|
||||
this.toolbar.empty();
|
||||
this.toolbar && this.toolbar.empty();
|
||||
},
|
||||
add_toolbar: function() {
|
||||
if(!this.toolbar)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue