Roo/form/ComboBox.js
authorMichael <michael@roojs.com>
Wed, 4 Mar 2015 06:09:43 +0000 (14:09 +0800)
committerMichael <michael@roojs.com>
Wed, 4 Mar 2015 06:09:43 +0000 (14:09 +0800)
Roo/form/ComboBox.js

index 911feb5..e280a34 100644 (file)
@@ -727,7 +727,7 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
     // private
     reset : function(){
         // overridden so that last data is reset..
-        this.setValue(this.resetValue ? this.lastQuery : this.resetValue);
+        this.setValue(this.resetValue ? this.resetValue : this.lastQuery);
         this.clearInvalid();
         this.lastData = false;
         if (this.view) {