Roo/bootstrap/Button.js
authorJulian Knowles <julian@roojs.com>
Fri, 24 Jan 2014 10:23:53 +0000 (18:23 +0800)
committerJulian Knowles <julian@roojs.com>
Fri, 24 Jan 2014 10:23:53 +0000 (18:23 +0800)
Roo/bootstrap/Button.js

index 06142b1..d586d87 100644 (file)
@@ -50,7 +50,6 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
     isClose: false,
     glyphicon: '',
     badge: '',
-    btn: true,
     
     getAutoCreate : function(){
         Roo.log("Button Parent is : " + this.parent().xtype);
@@ -61,9 +60,6 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             html: 'hello'
         }
         
-        if (this.btn===false) {
-            this.tag='div'
-        }
         
         if (this.parent().btn) {
             cfg.cls='btn';