Replacing tabs with spaces. Fix https://github.com/alseambusher/crontab-ui/issues/54
parent
4c7a4c9e68
commit
6b186a09bb
|
@ -14,7 +14,7 @@
|
||||||
$(function () {
|
$(function () {
|
||||||
// initialize tooltips
|
// initialize tooltips
|
||||||
$('[data-toggle="tooltip"]').tooltip();
|
$('[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 %>');
|
routes = JSON.parse('<%- routes %>');
|
||||||
$("#env_vars").val(`<%- env %>`);
|
$("#env_vars").val(`<%- env %>`);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue