sync
authorjohn <john@roojs.com>
Wed, 28 Mar 2018 03:20:11 +0000 (11:20 +0800)
committerjohn <john@roojs.com>
Wed, 28 Mar 2018 03:20:11 +0000 (11:20 +0800)
Roo/bootstrap/PhoneInput.js
less/roojs-bootstrap/phone-input.less

index 9582d30..fa1cc39 100644 (file)
@@ -173,11 +173,6 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField,  {
                 }
             });
             
-            return cfg;
-        },
-        
-        initEvents : function()
-        {
             this.store = new Roo.data.Store({
                 proxy : new Roo.data.MemoryProxy({}),
                 reader : new Roo.data.JsonReader({
@@ -211,6 +206,11 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField,  {
                 data: this.allCountries
             };
             
+            return cfg;
+        },
+        
+        initEvents : function()
+        {
             this.createList();
             Roo.bootstrap.PhoneInput.superclass.initEvents.call(this);
             
index eb6fe04..bb84fbe 100644 (file)
@@ -2,6 +2,7 @@
     padding-left: 105px;
     border-radius: 4px !important;
     -webkit-appearance: none;
+    -moz-appearance: textfield;
 }
 
 .dial-code-holder {