Roo/form/Field.js
authorMichael <michael@roojs.com>
Tue, 17 Mar 2015 07:37:45 +0000 (15:37 +0800)
committerMichael <michael@roojs.com>
Tue, 17 Mar 2015 07:37:45 +0000 (15:37 +0800)
Roo/form/Field.js

index 7ad268d..494b01f 100644 (file)
@@ -290,7 +290,7 @@ side          Add an error icon to the right of the field with a popup on hover
         if(!Roo.isOpera && this.focusClass){ // don't touch in Opera
             this.el.addClass(this.focusClass);
         }
-        if(!this.hasFocus){
+        if(this.hasFocus){
             this.hasFocus = true;
             this.startValue = this.getValue();
             this.fireEvent("focus", this);