From 125bd09faf21411fafda01e76989b4856bbd267c Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 6 Aug 2010 10:01:44 -0400 Subject: The Javascript code for the new web UI Now with whitespace cleanup. --- install/static/pageparams.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 install/static/pageparams.js (limited to 'install/static/pageparams.js') diff --git a/install/static/pageparams.js b/install/static/pageparams.js new file mode 100644 index 00000000..62307def --- /dev/null +++ b/install/static/pageparams.js @@ -0,0 +1,15 @@ +function getPageParams(){ + var qsParm = new Array(); + var query = window.location.search.substring(1); + var parms = query.split("&"); + for (var i=0; i 0) { + var key = parms[i].substring(0,pos); + var val = parms[i].substring(pos+1); + qsParm[key] = val; + } + } + return qsParm; +} + -- cgit