mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Catch invalid cron entry and reset to default
This commit is contained in:
parent
5ef8947532
commit
9699129a38
1 changed files with 3 additions and 1 deletions
|
@ -415,7 +415,9 @@
|
|||
if (${newsletter['config']['custom_cron']}) {
|
||||
$('#cron_value').val('${newsletter['cron']}');
|
||||
} else {
|
||||
cron_widget.cron('value', '${newsletter['cron']}');
|
||||
try {
|
||||
cron_widget.cron('value', '${newsletter['cron']}');
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
function toggleCustomCron() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue