Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Mon, 29 Oct 2018 08:25:20 +0000 (16:25 +0800)
committerjohn <john@roojs.com>
Mon, 29 Oct 2018 08:25:20 +0000 (16:25 +0800)
Roo/bootstrap/PhoneInput.js

index 6c4ea1d..9a4ffbd 100644 (file)
@@ -546,21 +546,13 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
             return this.el.select('input.hidden-tel-input',true).first();
         },
         
-        onKeyUp : function(e){
-            this.setValue(this.getValue());
-            
-            Roo.log(this.getValue());
-        },
-        
         onKeyPress : function(e){
             
             if(this.allowed.indexOf(String.fromCharCode(e.getCharCode())) === -1){
                 e.stopEvent();
             }
             
-            Roo.log(this.getValue());
+            this.setValue(this.getValue());
         }
         
-        
-        
 });
\ No newline at end of file