Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Thu, 29 Mar 2018 02:56:34 +0000 (10:56 +0800)
committerjohn <john@roojs.com>
Thu, 29 Mar 2018 02:56:34 +0000 (10:56 +0800)
Roo/bootstrap/PhoneInput.js

index f47773c..4bc0cf5 100644 (file)
@@ -25,8 +25,6 @@ Roo.bootstrap.PhoneInput = function(config) {
 
 Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
         
-        triggerList : true,
-        
         listWidth: undefined,
         
         selectedClass: 'active',
@@ -289,8 +287,6 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
             
             this.list.on('mouseover', this.onViewOver, this);
             this.list.on('mousemove', this.onViewMove, this);
-            //this.list.on('scroll', this.onViewScroll, this);
-            // this.inputEl().on("keyup", this.onKeyUp, this);
             this.inputEl().on("keypress", this.onKeyPress, this);
             
             this.tpl = '<li><a href="#"><div class="flag {iso2}"></div>{name} <span class="dial-code">+{dialCode}</span></a></li>';
@@ -538,12 +534,6 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
             return this.el.select('input.hidden-tel-input',true).first();
         },
         
-        // onKeyUp : function(e)
-        // {
-        //     Roo.log(e.getKey());
-        //     this.setValue(this.getValue());
-        // },
-        
         onKeyPress : function(e){
             
             var k = e.getKey();