Commit b6bdb365 authored by marc duez's avatar marc duez

url.js : use internal window.location

required for unit tests (internal window.location contain a mock url during unit tests) 
parent 424d6252
......@@ -109,7 +109,7 @@ Url.prototype= {
parseUrlParams:function () {
params={}
var url = window.location;
var url = this.window.location;
var url_param = url.search.substr(1).split("&");
for (var i = 0; i < url_param.length; i++) {
var tmparr = url_param[i].split("=");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment