Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Wed, 28 Mar 2018 03:19:22 +0000 (11:19 +0800)
committerjohn <john@roojs.com>
Wed, 28 Mar 2018 03:19:22 +0000 (11:19 +0800)
Roo/bootstrap/PhoneInput.js

index fa1cc39..9582d30 100644 (file)
@@ -173,6 +173,11 @@ 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({
@@ -206,11 +211,6 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField,  {
                 data: this.allCountries
             };
             
-            return cfg;
-        },
-        
-        initEvents : function()
-        {
             this.createList();
             Roo.bootstrap.PhoneInput.superclass.initEvents.call(this);