Commit da4e59d0 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

runner: when runnin a command, load viewLog with logfile as parameter

parent 0f780076
...@@ -130,7 +130,7 @@ function bindRun() { ...@@ -130,7 +130,7 @@ function bindRun() {
} else { } else {
if (!isRunning()) { if (!isRunning()) {
setCookie("slapgridCMD", "Software"); setCookie("slapgridCMD", "Software");
window.location.href = $SCRIPT_ROOT + "/viewLog"; window.location.href = $SCRIPT_ROOT + "/viewLog?logfile=software.log";
} }
} }
return false; return false;
...@@ -142,7 +142,7 @@ function bindRun() { ...@@ -142,7 +142,7 @@ function bindRun() {
if (!isRunning()) { if (!isRunning()) {
setCookie("slapgridCMD", "Instance"); setCookie("slapgridCMD", "Instance");
if (window.location.pathname === "/viewLog") if (window.location.pathname === "/viewLog")
window.location.href = $SCRIPT_ROOT + "/viewLog"; window.location.href = $SCRIPT_ROOT + "/viewLog?logfile=instance.log";
} }
} }
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