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

index 12c2a4a..7aca6d3 100644 (file)
@@ -2,7 +2,7 @@ Roo.bootstrap.PhoneInput = function(config) {
     Roo.bootstrap.PhoneInput.superclass.constructor.call(this, config);
 };
 
-Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.Input,  {
+Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField,  {
         
         getAutoCreate : function()
         {
@@ -162,5 +162,7 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.Input,  {
                 style: 'display:none'
             });
             this.list.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
-        }
+        },
+        
+        onTriggerClick : Roo.emptyFn
 });
\ No newline at end of file