Suresh Alse 2017-10-31 11:48:03 -07:00
parent 4c7a4c9e68
commit 6b186a09bb
2 changed files with 3 additions and 3 deletions

View File

@ -130,8 +130,8 @@ exports.set_crontab = function(env_vars, callback){
else callback();
});
} else {
callback();
}
callback();
}
});
});
});

View File

@ -14,7 +14,7 @@
$(function () {
// initialize tooltips
$('[data-toggle="tooltip"]').tooltip();
crontabs = JSON.parse('<%- crontabs.replace(/\\\\/g, "\\\\\\\\").replace(/\\\"/g,"\\\\\"").replace(/\'/g,"\\\'") %>');
crontabs = JSON.parse('<%- crontabs.replace(/\\\\/g, "\\\\\\\\").replace(/\\\"/g,"\\\\\"").replace(/\'/g,"\\\'").replace(/\\t/g, " ") %>');
routes = JSON.parse('<%- routes %>');
$("#env_vars").val(`<%- env %>`);
})