Roo/form/ComboCheck.js
authorAlan Knowles <alan@roojs.com>
Wed, 28 Aug 2013 04:41:14 +0000 (12:41 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Aug 2013 04:41:14 +0000 (12:41 +0800)
Roo/form/ComboCheck.js

index 5a89afe..9e9cb78 100644 (file)
@@ -140,9 +140,10 @@ Roo.extend(Roo.form.ComboCheck, Roo.form.ComboBox, {
     },
     expand : function ()
     {
-        this.valueBefore = tyepof(this.value) == 'undefined' ? '' : this.value;
-        Roo.form.ComboCheck.superclass.expand.call(this);
         
+        Roo.form.ComboCheck.superclass.expand.call(this);
+        this.valueBefore = typeof(this.value) == 'undefined' ? '' : this.value;
+        this.valueBefore = typeof(this.valueBefore) == 'undefined' ? '' : this.valueBefore;
         
 
     },