utility.js: remove unused get_url_parameter function.
Unused since 025d66a6.
This commit is contained in:
@@ -114,21 +114,6 @@ Utility.regexp_escape = function(string) {
|
|||||||
return string.replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");
|
return string.replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");
|
||||||
}
|
}
|
||||||
|
|
||||||
Utility.get_url_parameter = function(sParam) {
|
|
||||||
var sPageURL = decodeURIComponent(window.location.search.substring(1)),
|
|
||||||
sURLVariables = sPageURL.split('&'),
|
|
||||||
sParameterName,
|
|
||||||
i;
|
|
||||||
|
|
||||||
for (i = 0; i < sURLVariables.length; i++) {
|
|
||||||
sParameterName = sURLVariables[i].split('=');
|
|
||||||
|
|
||||||
if (sParameterName[0] === sParam) {
|
|
||||||
return sParameterName[1] === undefined ? true : sParameterName[1];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Utility.sorttable = function(table) {
|
Utility.sorttable = function(table) {
|
||||||
table.stupidtable();
|
table.stupidtable();
|
||||||
table.bind("aftertablesort", function(event, data) {
|
table.bind("aftertablesort", function(event, data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user