From: john Date: Wed, 31 Jan 2018 05:30:38 +0000 (+0800) Subject: roojs-bootstrap.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=834cc569a9b873e3692f513aacbe640d63db01da;p=roojs1 roojs-bootstrap.js roojs-bootstrap-debug.js --- diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 14ab01a5b1..a243afc475 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -37926,6 +37926,8 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, { minListWidth : 70, + triggerAction: 'query', + validClass : "has-success", invalidClass: "has-warning", diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index d5789249d2..c2481a0bef 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -1599,7 +1599,7 @@ this.pnode.addClass("disabled");}},enable:function(){this.disabled=false;this.pn }},closeText:"Close this tab"}); // Roo/bootstrap/PhoneInput.js Roo.bootstrap.PhoneInput=function(A){Roo.bootstrap.PhoneInput.superclass.constructor.call(this,A);this.addEvents({'expand':true,'collapse':true,'beforeselect':true,'select':true,'beforequery':true,'add':true,'edit':true,'remove':true,'afterremove':true,'touchviewdisplay':true} -);this.country=[];};Roo.extend(Roo.bootstrap.PhoneInput,Roo.bootstrap.TriggerField,{listWidth:undefined,modalTitle:'',selectedClass:'active',maxHeight:300,minListWidth:70,validClass:"has-success",invalidClass:"has-warning",defaultCountry:'hk',preferedCountries:undefined,filterCountries:undefined,displayMode:undefined,getAutoCreate:function(){this.list=Roo.bootstrap.PhoneInput.List; +);this.country=[];};Roo.extend(Roo.bootstrap.PhoneInput,Roo.bootstrap.TriggerField,{listWidth:undefined,modalTitle:'',selectedClass:'active',maxHeight:300,minListWidth:70,triggerAction:'query',validClass:"has-success",invalidClass:"has-warning",defaultCountry:'hk',preferedCountries:undefined,filterCountries:undefined,displayMode:undefined,getAutoCreate:function(){this.list=Roo.bootstrap.PhoneInput.List; if(this.filterCountries){for(var i=0;i