Remove unused function

This commit is contained in:
Zedifus 2022-06-03 18:41:05 +01:00
parent df86897108
commit 04ffe0eb65

View File

@ -672,24 +672,8 @@
</script>
<script type="text/javascript">
//<![CDATA[
// array of possible countries in the same order as they appear in the country selection list
function decodeHtmlCharCodes(str) {
return str.replace("&quot;", "\"");
}
function convertHtmlJsonToJavacriptArray(str) {
var result = []
str = decodeHtmlCharCodes(str)
for (var i in str)
result.push([i, str[i]]);
return result
}
var text = '{% raw data["js_server_types"] %}';
var serverTypesLists = JSON.parse(text);
//convertHtmlJsonToJavacriptArray('{{ data["js_server_types"] }}')
/* CountryChange() is called from the onchange event of a select element.
* param selectObj - the select object which fired the on change event.
*/
@ -722,6 +706,5 @@
}
}
}
//]]>
</script>
{% end %}
{% end %}