sync
[roojs1] / Roo / bootstrap / ButtonGroup.js
index 5a269ef..4cb5f0d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * - LGPL
  *
- * page contgainer.
+ * button group
  * 
  */
 
  * @class Roo.bootstrap.ButtonGroup
  * @extends Roo.bootstrap.Component
  * Bootstrap ButtonGroup class
- * @cfg {string} size lg | sm | xs (default empty normal)
- * @cfg {string} align vertical | justified  (default none)
- * @cfg {string} direction up | down (default down)
+ * @cfg {String} size lg | sm | xs (default empty normal)
+ * @cfg {String} align vertical | justified  (default none)
+ * @cfg {String} direction up | down (default down)
+ * @cfg {Boolean} toolbar false | true
+ * @cfg {Boolean} btn true | false
  * 
  * 
  * @constructor
@@ -31,15 +33,12 @@ Roo.extend(Roo.bootstrap.ButtonGroup, Roo.bootstrap.Component,  {
     direction: '',
     toolbar: false,
     btn: true,
-    
-    autoCreate : {
-        cls: 'btn-group',
-        html : null
-    },
 
     getAutoCreate : function(){
-        
-        var cfg = Roo.apply({}, Roo.bootstrap.ButtonGroup.superclass.getAutoCreate.call(this));
+        var cfg = {
+            cls: 'btn-group',
+            html : null
+        }
         
         cfg.html = this.html || cfg.html;