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

index 494b01f..7ad268d 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);