Roo/form/BasicForm.js
authorAlan Knowles <alan@roojs.com>
Wed, 20 Nov 2013 06:02:23 +0000 (14:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Nov 2013 06:02:23 +0000 (14:02 +0800)
Roo/form/BasicForm.js

index 6e574e8..08ac4b4 100644 (file)
@@ -502,7 +502,7 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
             }
             var v = f.getValue();
             if (f.inputType =='radio') {
-                if (typeof(ret[f.getName()]) = 'undefined') {
+                if (typeof(ret[f.getName()]) == 'undefined') {
                     ret[f.getName()] = ''; // empty..
                 }