Commit 5ee2f320 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

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

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