Roo/bootstrap/Element.js
authorAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 07:01:12 +0000 (15:01 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 20 Feb 2014 07:01:12 +0000 (15:01 +0800)
Roo/bootstrap/Element.js

index b225000..2a674f4 100644 (file)
@@ -31,13 +31,12 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component,  {
     
     
     getAutoCreate : function(){
-        var cfg = Roo.apply({}, Roo.bootstrap.Element.superclass.getAutoCreate.call(this));
-       
-       cfg = {
-           tag: this.tag,
-           cls: '',
+        
+        var cfg = {
+            tag: this.tag,
+            cls: '',
             html: this.html
-       }
+        }
        
         return cfg;
     }