From 261e6289197d1ec1da819ed53618ab97c3325e99 Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Tue, 12 Jan 2016 17:25:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=80=81=E6=A1=86=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E8=A1=A8=E5=8D=95=E9=94=99=E8=AF=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=B8=85=E7=A9=BA=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xxl-job-admin/src/main/webapp/static/js/job.index.1.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xxl-job-admin/src/main/webapp/static/js/job.index.1.js b/xxl-job-admin/src/main/webapp/static/js/job.index.1.js index 33a22e1d..87747caa 100644 --- a/xxl-job-admin/src/main/webapp/static/js/job.index.1.js +++ b/xxl-job-admin/src/main/webapp/static/js/job.index.1.js @@ -195,7 +195,9 @@ $(function() { } }); $("#addModal").on('hide.bs.modal', function () { - $("#addModal .form")[0].reset() + //$("#addModal .form")[0].reset(); + addModalValidate.resetForm(); + $("#addModal .form .form-group").removeClass("has-error"); }); // 新增-添加参数