Kagera Web Interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

command.js 361B

1234567891011
  1. function runScript() {
  2. toggleMsg(sysmsg[0]);
  3. var commands = [];
  4. commands.push(document.getElementById("cmds").value);
  5. statefunc = function(req) {
  6. document.getElementById("output").innerHTML = req.responseText;
  7. document.getElementsByClassName("hidden")[0].style.display = "inline";
  8. toggleMsg();
  9. }
  10. runCommand(commands.join("\n"), statefunc, false);
  11. }