Commit 97a0b5be authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: all runner webpages do not redirect to viewLog on Build&Run

parent efad6d9c
...@@ -130,6 +130,7 @@ function bindRun() { ...@@ -130,6 +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";
} }
} }
...@@ -141,6 +142,7 @@ function bindRun() { ...@@ -141,6 +142,7 @@ function bindRun() {
} else { } else {
if (!isRunning()) { if (!isRunning()) {
setCookie("slapgridCMD", "Instance"); setCookie("slapgridCMD", "Instance");
if (window.location.pathname === "/viewLog")
window.location.href = $SCRIPT_ROOT + "/viewLog"; window.location.href = $SCRIPT_ROOT + "/viewLog";
} }
} }
......
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