B #4380: Fix scheduler actions (#4405)

This commit is contained in:
Sergio Betanzos authored and GitHub committed 2020-03-25 13:16:41 +01:00
1 parent 23b29310f8
commit 046231b5ac
1 file changed
+5 -5
@@ -308,13 +308,13 @@ define(function (require) {
var epoch_str = new Date(time_value);
end_value = parseInt(epoch_str.getTime()) / 1000;
}
sched_action.DAYS = days;
sched_action.REPEAT = rep;
sched_action.END_VALUE = end_value;
sched_action.DAYS = String(days);
sched_action.REPEAT = String(rep);
sched_action.END_VALUE = String(end_value);
}
sched_action.END_TYPE = end_type;
sched_action.END_TYPE = String(end_type);
}
sched_action.ACTION = new_action;
sched_action.ACTION = String(new_action);
$("#scheduling_" + this.res + "_actions_table .create", context).remove();
$("#scheduling_" + this.res + "_actions_table #relative_time_form", context).remove();
$("#scheduling_" + this.res + "_actions_table #no_relative_time_form", context).remove();