Skip to content
Snippets Groups Projects
Commit e5c23b49 authored by Uma's avatar Uma
Browse files

Updated application.js

parent c480a9a4
No related branches found
No related tags found
1 merge request!566Fixes #1262 Shared report should be accessible to admin user
...@@ -206,7 +206,7 @@ window.app = (function () { ...@@ -206,7 +206,7 @@ window.app = (function () {
for (var index = 0; index < queryParameters.length; index++) { for (var index = 0; index < queryParameters.length; index++) {
var queryParam = queryParameters[index]; var queryParam = queryParameters[index];
var queryParamComponents = queryParam.split('='); var queryParamComponents = queryParam.split('=');
if (queryParamComponents[0] in params) params[queryParamComponents[0]] += '&' + queryParamComponents[0] + '=' + queryParamComponents[1]; if (queryParamComponents[0] in params) params[queryParamComponents[0]] += '&' + queryParamComponents[0] + '=' + queryParamComponents[1];
else params[queryParamComponents[0]] = queryParamComponents[1]; else params[queryParamComponents[0]] = queryParamComponents[1];
} }
return params; return params;
...@@ -537,4 +537,4 @@ jQuery(function () { ...@@ -537,4 +537,4 @@ jQuery(function () {
modal_this.$element.focus() modal_this.$element.focus()
} }
})}; })};
}); });
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment