From da3e68889a56ba55a2bda5888373852434da208a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Sep 2014 17:18:46 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 752fcf0b76..36dadbf4a0 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -264,7 +264,8 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { initEvents: function() { // Roo.log('init events?'); // Roo.log(this.el.dom); - + // add the menu... + if (typeof (this.menu) != 'undefined') { this.menu.parentType = this.xtype; this.menu.triggerEl = this.el; -- 2.39.2