Private GIT

Skip to content
Snippets Groups Projects
Commit 9d74b525 authored by Jørgen P. Tjernø's avatar Jørgen P. Tjernø
Browse files

Fix viewlog dropdown regression.

The dropdown on /errorlogs/viewlog/ was no longer working after
b028d867, due to a trailing slash being added.

This makes the JS that changes the URL when you select a new dropdown value use
absolute paths
parent 96dc1cd8
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<!-- <!--
\$(document).ready(function(){ \$(document).ready(function(){
\$('#minLevel').change(function(){ \$('#minLevel').change(function(){
url = 'viewlog?minLevel='+\$(this).val() url = '$sbRoot/errorlogs/viewlog/?minLevel='+\$(this).val()
window.location.href = url window.location.href = url
}); });
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment