bugfix
This commit is contained in:
parent
8993b0efef
commit
bba72ea544
@ -26,7 +26,7 @@ bricks.Menu = class extends bricks.VBox {
|
|||||||
console.log('menu_clicked(): item=', item, item.opts, item.url);
|
console.log('menu_clicked(): item=', item, item.opts, item.url);
|
||||||
if (!item.url){
|
if (!item.url){
|
||||||
console.log('itme.url is null');
|
console.log('itme.url is null');
|
||||||
this.bind('command', item.opts);
|
this.dispatch('command', item.opts);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var t = bricks.getWidgetById(this.target);
|
var t = bricks.getWidgetById(this.target);
|
||||||
|
Loading…
Reference in New Issue
Block a user