From 1abe154c40d9fbd224f1307e9080001d5cacd06b Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Fri, 25 Oct 2019 18:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCron=E5=8F=AF=E8=A7=86?= =?UTF-8?q?=E5=8C=96=E6=9F=A5=E7=9C=8B=E6=95=B0=E6=8D=AE=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/js/jobinfo.index.1.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js b/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js index 124f699d..8354d598 100644 --- a/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js +++ b/xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js @@ -362,6 +362,7 @@ $(function() { $(".add").click(function(){ // init-cronGen + $("#addModal .form input[name='jobCron']").show().siblings().remove(); $("#addModal .form input[name='jobCron']").cronGen({}); $('#addModal').modal({backdrop: false, keyboard: false}).modal('show'); @@ -460,9 +461,6 @@ $(function() { $("#addModal .form .form-group").removeClass("has-error"); $(".remote_panel").show(); // remote - // remove-cronGen - $("#addModal .form input[name='jobCron']").show().siblings().remove(); - $("#addModal .form input[name='executorHandler']").removeAttr("readonly"); }); @@ -525,6 +523,7 @@ $(function() { $("#updateModal .form select[name=glueType]").change(); // init-cronGen + $("#updateModal .form input[name='jobCron']").show().siblings().remove(); $("#updateModal .form input[name='jobCron']").cronGen({}); // show @@ -623,9 +622,6 @@ $(function() { updateModalValidate.resetForm(); $("#updateModal .form")[0].reset(); $("#updateModal .form .form-group").removeClass("has-error"); - - // remove-cronGen - $("#updateModal .form input[name='jobCron']").show().siblings().remove(); }); /**