Roo/bootstrap/CheckBox.js
authorEdward <edward@roojs.com>
Mon, 28 Apr 2014 04:49:59 +0000 (12:49 +0800)
committerEdward <edward@roojs.com>
Mon, 28 Apr 2014 04:49:59 +0000 (12:49 +0800)
Roo/bootstrap/CheckBox.js

index 34601e6..f9febf9 100644 (file)
@@ -51,6 +51,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
             id : id,
             type : this.inputType,
             value : this.value,
+            cls : 'form-checkbox',
             placeholder : this.placeholder || ''
             
         };
@@ -158,7 +159,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
      */
     inputEl: function ()
     {
-        return this.el.select('input[type=checkbox]',true).first();
+        return this.el.select('input.form-checkbox',true).first();
     },
     
     initEvents : function()