bugfix
This commit is contained in:
parent
241db77f57
commit
3e863196f5
@ -160,8 +160,8 @@ bricks.DataGrid = class extends bricks.VBox {
|
||||
}
|
||||
if (this.opts.toolbar) {
|
||||
this.admin_bar.add_widget(new bricks.Filler({}));
|
||||
self.toolbar = new bricks.Toolbar(this.opts.toolbar);
|
||||
self.toolbar.bind('command', this.command_handle.bind(this));
|
||||
this.toolbar = new bricks.Toolbar(this.opts.toolbar);
|
||||
this.toolbar.bind('command', this.command_handle.bind(this));
|
||||
this.admin_bar.add_widget(this.toolbar);
|
||||
}
|
||||
this.create_parts();
|
||||
|
||||
@ -65,7 +65,7 @@ bricks.Signaling = class {
|
||||
}
|
||||
del_handler(sessionid){
|
||||
var handlers = {};
|
||||
delete self.handlers[sessionid];
|
||||
delete this.handlers[sessionid];
|
||||
}
|
||||
async signaling_recvdata(event){
|
||||
var datapkg = JSON.parse(event.data);
|
||||
|
||||
@ -378,7 +378,7 @@ bricks.TextBase = class extends bricks.JsWidget {
|
||||
if (options.wrap){
|
||||
this.set_style('flexWrap', 'wrap');
|
||||
}
|
||||
if (self.i18n){
|
||||
if (this.i18n){
|
||||
bricks.app.bind('lang', this.set_i18n_text.bind(this));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user