From: edward Date: Thu, 10 Mar 2016 05:01:35 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=266ab5fb16818a4c628742093a6413c51b075b74 Roo/bootstrap/Button.js Roo/bootstrap/Modal.js --- 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; diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 2615aa9507..33b8585500 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -112,8 +112,6 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { //this.el.addClass("x-dlg-modal"); if (this.buttons.length) { - Roo.log('this.button'); - Roo.log(this.buttons); Roo.each(this.buttons, function(bb) { var b = Roo.apply({}, bb); b.xns = b.xns || Roo.bootstrap;