Commit c6e4e0f7 authored by Alexey.Golubev's avatar Alexey.Golubev

refactoring

parent 6e3d3d2e
......@@ -124,7 +124,7 @@ var sUploadServiceLocalUrlOld = "../../../../uploadold";
var nMaxRequestLength = 5242880;//5mb <requestLimits maxAllowedContentLength="30000000" /> default 30mb
function getBaseUrl() {
var index_html = location.href;
var index_html = window["location"]["href"];
return index_html.substring(0, index_html.lastIndexOf("/") + 1);
}
......
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