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

index b8f1a31..17162ea 100644 (file)
@@ -743,6 +743,26 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         this.fireEvent("blur", this);
     },
     
+    onChange : function(a,b,c,d)
+    {
+        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);
+        */
+    },
+    
     /**
      * Resets the current field value to the originally loaded value and clears any validation messages
      */