Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Mon, 26 Mar 2018 03:00:03 +0000 (11:00 +0800)
committerjohn <john@roojs.com>
Mon, 26 Mar 2018 03:00:03 +0000 (11:00 +0800)
Roo/bootstrap/PhoneInput.js

index 35c002e..80b87f9 100644 (file)
@@ -4,6 +4,8 @@ Roo.bootstrap.PhoneInput = function(config) {
 
 Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.Input,  {
         
+        onTriggerClick : Roo.emptyFn
+        
         getAutoCreate : function()
         {
             var align = this.labelAlign || this.parentLabelAlign();
@@ -150,9 +152,9 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.Input,  {
             
             Roo.bootstrap.TriggerField.superclass.initEvents.call(this);
             //this.wrap = this.el.wrap({cls: "x-form-field-wrap"});
-            this.trigger = this.el.select('div.flag-container',true).first();
+            //this.trigger = this.el.select('div.flag-container',true).first();
             
-            this.trigger.on("click", this.onTriggerClick, this, {preventDefault:true});
+            //this.trigger.on("click", this.onTriggerClick, this, {preventDefault:true});
         },
         
         createList : function()