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

index 1903b8f..c96eeef 100644 (file)
@@ -141,7 +141,7 @@ Roo.extend(Roo.form.ComboCheck, Roo.form.ComboBox, {
     expand : function ()
     {
         Roo.form.ComboCheck.superclass.expand.call(this);
-        this.valueBefore = this.value;
+        this.valueBefore = tyepof(this.value) == 'undefined' ? '' : this.value;
         
 
     },