roojs-bootstrap.js
authorjohn <john@roojs.com>
Mon, 26 Mar 2018 02:57:14 +0000 (10:57 +0800)
committerjohn <john@roojs.com>
Mon, 26 Mar 2018 02:57:14 +0000 (10:57 +0800)
roojs-bootstrap-debug.js

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

index 25c3b0c..60b1215 100644 (file)
@@ -38059,9 +38059,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()
index fbaa959..ba37959 100644 (file)
@@ -1605,5 +1605,4 @@ Roo.bootstrap.PhoneInput=function(A){Roo.bootstrap.PhoneInput.superclass.constru
 H.cn=[G,I];if(this.indicatorpos=='right'){G.cls='roo-required-indicator text-danger fa fa-lg fa-star right-indicator';H.cn=[I,G];}if(A=='left'){F={tag:'div',cn:[F]};if(this.labelWidth>12){H.style="width: "+this.labelWidth+'px';}if(this.labelWidth<13&&this.labelmd==0){this.labelmd=this.labelWidth;
 }if(this.labellg>0){H.cls+=' col-lg-'+this.labellg;C.cls+=' col-lg-'+(12-this.labellg);}if(this.labelmd>0){H.cls+=' col-md-'+this.labelmd;F.cls+=' col-md-'+(12-this.labelmd);}if(this.labelsm>0){H.cls+=' col-sm-'+this.labelsm;F.cls+=' col-sm-'+(12-this.labelsm);
 }if(this.labelxs>0){H.cls+=' col-xs-'+this.labelxs;F.cls+=' col-xs-'+(12-this.labelxs);}}}B.cn=[H,F];var J=this;['xs','sm','md','lg'].map(function(K){if(J[K]){B.cls+=' col-'+K+'-'+J[K];}});return B;},initEvents:function(){this.createList();Roo.bootstrap.TriggerField.superclass.initEvents.call(this);
-this.trigger=this.el.select('div.flag-container',true).first();this.trigger.on("click",this.onTriggerClick,this,{preventDefault:true});},createList:function(){this.list=Roo.get(document.body).createChild({tag:'ul',cls:'typeahead typeahead-long dropdown-menu',style:'display:none'}
-);this.list.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';;}});
+},createList:function(){this.list=Roo.get(document.body).createChild({tag:'ul',cls:'typeahead typeahead-long dropdown-menu',style:'display:none'});this.list.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay='block';;}});