|
@@ -362,6 +362,7 @@ $(function() {
|
362
|
362
|
$(".add").click(function(){
|
363
|
363
|
|
364
|
364
|
// init-cronGen
|
|
365
|
+ $("#addModal .form input[name='jobCron']").show().siblings().remove();
|
365
|
366
|
$("#addModal .form input[name='jobCron']").cronGen({});
|
366
|
367
|
|
367
|
368
|
$('#addModal').modal({backdrop: false, keyboard: false}).modal('show');
|
|
@@ -460,9 +461,6 @@ $(function() {
|
460
|
461
|
$("#addModal .form .form-group").removeClass("has-error");
|
461
|
462
|
$(".remote_panel").show(); // remote
|
462
|
463
|
|
463
|
|
- // remove-cronGen
|
464
|
|
- $("#addModal .form input[name='jobCron']").show().siblings().remove();
|
465
|
|
-
|
466
|
464
|
$("#addModal .form input[name='executorHandler']").removeAttr("readonly");
|
467
|
465
|
});
|
468
|
466
|
|
|
@@ -525,6 +523,7 @@ $(function() {
|
525
|
523
|
$("#updateModal .form select[name=glueType]").change();
|
526
|
524
|
|
527
|
525
|
// init-cronGen
|
|
526
|
+ $("#updateModal .form input[name='jobCron']").show().siblings().remove();
|
528
|
527
|
$("#updateModal .form input[name='jobCron']").cronGen({});
|
529
|
528
|
|
530
|
529
|
// show
|
|
@@ -623,9 +622,6 @@ $(function() {
|
623
|
622
|
updateModalValidate.resetForm();
|
624
|
623
|
$("#updateModal .form")[0].reset();
|
625
|
624
|
$("#updateModal .form .form-group").removeClass("has-error");
|
626
|
|
-
|
627
|
|
- // remove-cronGen
|
628
|
|
- $("#updateModal .form input[name='jobCron']").show().siblings().remove();
|
629
|
625
|
});
|
630
|
626
|
|
631
|
627
|
/**
|