From 266ab5fb16818a4c628742093a6413c51b075b74 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 10 Mar 2016 13:01:35 +0800 Subject: [PATCH] Roo/bootstrap/Button.js Roo/bootstrap/Modal.js --- Roo/bootstrap/Button.js | 2 +- Roo/bootstrap/Modal.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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; -- 2.39.2