Roo/bootstrap/Radio.js
authorAlan Knowles <alan@roojs.com>
Thu, 30 Jul 2015 07:16:44 +0000 (15:16 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 30 Jul 2015 07:16:44 +0000 (15:16 +0800)
Roo/bootstrap/Radio.js

index d7998c1..0ec7ad4 100644 (file)
@@ -178,8 +178,7 @@ Roo.extend(Roo.bootstrap.Radio, Roo.bootstrap.CheckBox,  {
         this.inputEl().on('click', this.onClick,  this);
         if (this.boxLabel) {
             Roo.log('find label')
-            Roo.log(this.el.select('label.box-label',true).first());
-            this.el.select('label.box-label',true).first().on('click', this.onClick,  this);
+            this.el.select('span.radio',true).first().on('click', this.onClick,  this);
         }
         
     },