X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FButton.js;h=dc687445bbd19a032c84df88ca9a3e89a060a2c6;hb=266ab5fb16818a4c628742093a6413c51b075b74;hp=5d84d9787680fb63b8563a3d0ae65744ac58581c;hpb=16c1b5c1947553057bd8d7035b1698c21e88d151;p=roojs1 diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 5d84d97876..dc687445bb 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -266,7 +266,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { // Roo.log('init events?'); // Roo.log(this.el.dom); // add the menu... - Roo.log('button????'); + if (typeof (this.menu) != 'undefined') { this.menu.parentType = this.xtype; this.menu.triggerEl = this.el;