Commit 873554fd authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: fix bug to have redirection on Build&Run button click

parent 7665cb28
...@@ -130,8 +130,7 @@ function bindRun() { ...@@ -130,8 +130,7 @@ function bindRun() {
} else { } else {
if (!isRunning()) { if (!isRunning()) {
setCookie("slapgridCMD", "Software"); setCookie("slapgridCMD", "Software");
if (window.location.pathname === "/viewLog") window.location.href = $SCRIPT_ROOT + "/viewLog";
window.location.href = $SCRIPT_ROOT + "/viewLog";
} }
} }
return false; return false;
......
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