You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
Replacing tabs with spaces. Fix https://github.com/alseambusher/crontab-ui/issues/54
This commit is contained in:
@@ -130,8 +130,8 @@ exports.set_crontab = function(env_vars, callback){
|
||||
else callback();
|
||||
});
|
||||
} else {
|
||||
callback();
|
||||
}
|
||||
callback();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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 %>`);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user