Roo/form/ComboBoxArray.js
authorAlan Knowles <alan@roojs.com>
Wed, 4 Jul 2012 07:27:32 +0000 (15:27 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 4 Jul 2012 07:27:32 +0000 (15:27 +0800)
Roo/form/ComboBoxArray.js

index 9ed71f0..346c279 100644 (file)
@@ -273,7 +273,7 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
         
         
         
-        if (this.store.isLocal) && typeof(v) == 'string') {
+        if (this.store.isLocal) && (typeof(v) == 'string')) {
             // then we can use the store to find the values..
             // comma seperated at present.. this needs to allow JSON based encoding..
             this.hiddenEl.value  = v;