Roo/bootstrap/Input.js
authorEdward <edward@roojs.com>
Wed, 1 Aug 2018 04:54:23 +0000 (12:54 +0800)
committerEdward <edward@roojs.com>
Wed, 1 Aug 2018 04:54:23 +0000 (12:54 +0800)
Roo/bootstrap/Input.js

index 17162ea..8a5df87 100644 (file)
@@ -743,24 +743,15 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         this.fireEvent("blur", this);
     },
     
-    onChange : function(a,b,c,d)
+    onChange : function(e)
     {
-        Roo.log([a,b,c,d]);
-        /*
-        this.beforeBlur();
-        if(!Roo.isOpera && this.focusClass){ // don't touch in Opera
-            //this.el.removeClass(this.focusClass);
-        }
-        this.hasFocus = false;
-        if(this.validationEvent !== false && this.validateOnBlur && this.validationEvent != "blur"){
-            this.validate();
-        }
         var v = this.getValue();
         if(String(v) !== String(this.startValue)){
             this.fireEvent('change', this, v, this.startValue);
         }
-        this.fireEvent("blur", this);
-        */
+        
+        this.startValue = v;
+        
     },
     
     /**