Roo/bootstrap/Button.js
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:18:37 +0000 (17:18 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:18:37 +0000 (17:18 +0800)
roojs-bootstrap-debug.js

Roo/bootstrap/Button.js

index ffc70eb..752fcf0 100644 (file)
@@ -268,7 +268,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         if (typeof (this.menu) != 'undefined') {
             this.menu.parentType = this.xtype;
             this.menu.triggerEl = this.el;
-            cn.addxtype(Roo.apply({}, this.menu));
+            this.addxtype(Roo.apply({}, this.menu));
         }