|
|
|
@ -448,7 +448,7 @@ $(function() {
|
|
|
|
|
var scheduleType = $("#addModal .form select[name='scheduleType']").val();
|
|
|
|
|
var scheduleConf;
|
|
|
|
|
if (scheduleType == 'CRON') {
|
|
|
|
|
scheduleConf = $("#addModal .form input[name='cronGen_display']").val();
|
|
|
|
|
scheduleConf = $("#addModal .form input[name='schedule_conf_CRON']").val();
|
|
|
|
|
} else if (scheduleType == 'FIX_RATE') {
|
|
|
|
|
scheduleConf = $("#addModal .form input[name='schedule_conf_FIX_RATE']").val();
|
|
|
|
|
} else if (scheduleType == 'FIX_DELAY') {
|
|
|
|
@ -631,7 +631,7 @@ $(function() {
|
|
|
|
|
var scheduleType = $("#updateModal .form select[name='scheduleType']").val();
|
|
|
|
|
var scheduleConf;
|
|
|
|
|
if (scheduleType == 'CRON') {
|
|
|
|
|
scheduleConf = $("#updateModal .form input[name='cronGen_display']").val();
|
|
|
|
|
scheduleConf = $("#updateModal .form input[name='schedule_conf_CRON']").val();
|
|
|
|
|
} else if (scheduleType == 'FIX_RATE') {
|
|
|
|
|
scheduleConf = $("#updateModal .form input[name='schedule_conf_FIX_RATE']").val();
|
|
|
|
|
} else if (scheduleType == 'FIX_DELAY') {
|
|
|
|
|