aboutsummaryrefslogtreecommitdiffstats
path: root/include/country.js
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-10 17:11:43 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-10 17:11:43 -0700
commit30a88a41e550207bd95ce2d3a073f8ddd4e4d087 (patch)
tree7ce0563b1a20c5f1216306d6159d84dfc745d91d /include/country.js
parentbdd1156cac0311f1444416b57133a7eb38c4faeb (diff)
downloadvolse-hubzilla-30a88a41e550207bd95ce2d3a073f8ddd4e4d087.tar.gz
volse-hubzilla-30a88a41e550207bd95ce2d3a073f8ddd4e4d087.tar.bz2
volse-hubzilla-30a88a41e550207bd95ce2d3a073f8ddd4e4d087.zip
remove hidden country/state vars
Diffstat (limited to 'include/country.js')
-rw-r--r--include/country.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/country.js b/include/country.js
index 4482a3f8c..701ec19e2 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;
}