Roo/bootstrap/Input.js
authorEdward <edward@roojs.com>
Fri, 25 Apr 2014 11:22:23 +0000 (19:22 +0800)
committerEdward <edward@roojs.com>
Fri, 25 Apr 2014 11:22:23 +0000 (19:22 +0800)
Roo/bootstrap/Input.js

index 6a9495a..3860267 100644 (file)
@@ -732,12 +732,13 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         
     },
     
-    getGroupValue : function(){
-        
-        return this.inputEl().up('form').child('input[name='+this.inputEl().dom.name+']:checked', true).value;
+    getGroupValue : function()
+    {
+        return this.inputEl().up('form').child('input[name='+this.inputEl().dom.name+']:checked', true).value || '';
     },
     
-    onClick : function(){
+    onClick : function()
+    {
         Roo.log('got');
         if(this.inputType != 'checkbox' && this.inputType != 'radio'){
             return;