1. fixed commands with quotes bug

2. Changed Startup macro from @startup to @reboot
This commit is contained in:
Suresh Alse
2015-06-13 22:10:37 +05:30
parent 848bf44f3a
commit 41ca8a72c7
6 changed files with 11 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ function editJob(_id){
if(job){
$("#job").modal("show");
$("#job-name").val(job.name);
$("#job-command").val(job.command.replace("\"","\\\""));
$("#job-command").val(job.command);
// if macro not used
if(job.schedule.indexOf("@") != 0){
var components = job.schedule.split(" ");