wip javascript
This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
QueryParameters = (function()
|
||||
{
|
||||
var result = {};
|
||||
|
||||
if (window.location.search)
|
||||
{
|
||||
// split up the query string and store in an associative array
|
||||
var params = window.location.search.slice(1).split("&");
|
||||
for (var i = 0; i < params.length; i++)
|
||||
{
|
||||
var tmp = params[i].split("=");
|
||||
result[tmp[0]] = unescape(tmp[1]);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}());
|
||||
|
||||
|
||||
saveSuccessFunctionReloadClient = function(data, textStatus, jqXHR) {
|
||||
$("#dialog-form").dialog("close");
|
||||
|
||||
Reference in New Issue
Block a user