X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcountry.js;h=701ec19e2750c94285059b8d59e0302e071f9720;hb=07274bb922204a39889e8a3db42adb94708572fb;hp=4482a3f8cb29e157cf4d3918a742c8db8c8a51cd;hpb=d24038d5582bd7ae80a784b23f89df9114cd73e8;p=friendica.git diff --git a/include/country.js b/include/country.js index 4482a3f8cb..701ec19e27 100644 --- a/include/country.js +++ b/include/country.js @@ -428,39 +428,9 @@ function Fill_Country(current) { return; } -function updSelectState(lngState) { - if (gLngSelectedCountry>0) { - - document.form1.txtSelectedState.value = lngState+1; - - } -} - -/* - * gArCountryInfo matrix holds the following information: - * (0) Country name - * (1) Name length - * (2) Number of states - * (3) Max state length - */ function Update_Globals() { gLngSelectedCountry=parseInt(document.form1.country_name.selectedIndex); gLngSelectedState=parseInt(document.form1.region.selectedIndex); - document.form1.txtSelectedCountry.value=gLngSelectedCountry; - document.form1.txtSelectedState.value=gLngSelectedState+1; - - // working -// document.form1.txtCountry.value= -// document.form1.country_name.options[gLngSelectedCountry].text; -// if (document.form1.txtSelectedState.value<=0) { -// document.form1.txtState.value=""; -// } -// else { -// document.form1.txtState.value= -// document.form1.region.options[gLngSelectedState].text; -// } - - return; }