roojs-bootstrap.js
authorjohn <john@roojs.com>
Wed, 28 Mar 2018 04:26:00 +0000 (12:26 +0800)
committerjohn <john@roojs.com>
Wed, 28 Mar 2018 04:26:00 +0000 (12:26 +0800)
roojs-bootstrap-debug.js

roojs-bootstrap-debug.js
roojs-bootstrap.js

index 548e50a..250eda3 100644 (file)
@@ -37957,7 +37957,7 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
         
         getAutoCreate : function()
         {
-            var data = Roo.bootstrap.PhoneInput.AllCountries;
+            var data = Roo.bootstrap.PhoneInputData;
             var align = this.labelAlign || this.parentLabelAlign();
             var id = Roo.id();
             
index b1d5998..518e577 100644 (file)
@@ -1600,7 +1600,7 @@ this.pnode.addClass("disabled");}},enable:function(){this.disabled=false;this.pn
 }},refresh:function(){if(this.refreshDelegate){this.loaded=false;this.refreshDelegate();}},_setLoaded:function(){this.loaded=true;},closeClick:function(e){var o={};e.stopEvent();this.fireEvent("beforeclose",this,o);if(o.cancel!==true){this.tabPanel.removeTab(this.id);
 }},closeText:"Close this tab"});
 // Roo/bootstrap/PhoneInput.js
-Roo.bootstrap.PhoneInput=function(A){Roo.bootstrap.PhoneInput.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.PhoneInput,Roo.bootstrap.TriggerField,{triggerList:true,listWidth:undefined,selectedClass:'active',allCountries:false,dialCodeMapping:false,preferedCountries:false,defaultDialCode:'+852',getAutoCreate:function(){var A=Roo.bootstrap.PhoneInput.AllCountries;
+Roo.bootstrap.PhoneInput=function(A){Roo.bootstrap.PhoneInput.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.PhoneInput,Roo.bootstrap.TriggerField,{triggerList:true,listWidth:undefined,selectedClass:'active',allCountries:false,dialCodeMapping:false,preferedCountries:false,defaultDialCode:'+852',getAutoCreate:function(){var A=Roo.bootstrap.PhoneInputData;
 var B=this.labelAlign||this.parentLabelAlign();var id=Roo.id();for(var i=0;i<A.length;i++){var c=A[i];this.allCountries[i]={name:c[0],iso2:c[1],dialCode:c[2],priority:c[3]||0,areaCodes:c[4]||null};this.dialCodeMapping[c[2]]={name:c[0],iso2:c[1],priority:c[3]||0,areaCodes:c[4]||null}
 ;}var C={cls:'form-group',cn:[]};var D={tag:'input',id:id,type:'number',cls:'form-control tel-input',autocomplete:'new-password'};if(this.name){D.name=this.name;}if(this.disabled){D.disabled=true;}var E={tag:'div',cls:'flag-box',cn:[{tag:'div',cls:'flag'}
 ,{tag:'div',cls:'caret'}]};var F={tag:'div',cls:this.hasFeedback?'has-feedback':'',cn:[D,{tag:'input',cls:'dial-code-holder',disabled:true}]};var G={cls:'roo-select2-container input-group',cn:[E,F]};if(this.fieldLabel.length){var H={tag:'i',tooltip:'This field is required'}