From e6f3f79d668478691ce165196c0220964eef42f5 Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Wed, 22 Mar 2017 19:49:08 +0800 Subject: [PATCH] =?UTF-8?q?WebIDE=E4=BA=A4=E4=BA=92=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/webapp/static/js/jobcode.index.1.js | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js b/xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js index b9f41db9..a22db7e2 100644 --- a/xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js +++ b/xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js @@ -39,29 +39,28 @@ $(function() { return; } - ComConfirm.show("是否执行保存操作?", function(){ - $.ajax({ - type : 'POST', - url : base_url + '/jobcode/save', - data : { - 'id' : id, - 'glueSource' : glueSource, - 'glueRemark' : glueRemark - }, - dataType : "json", - success : function(data){ - if (data.code == 200) { - ComAlert.show(1, '保存成功', function(){ - //$(window).unbind('beforeunload'); - window.location.reload(); - }); - } else { - ComAlert.show(2, data.msg); - } + + $.ajax({ + type : 'POST', + url : base_url + '/jobcode/save', + data : { + 'id' : id, + 'glueSource' : glueSource, + 'glueRemark' : glueRemark + }, + dataType : "json", + success : function(data){ + if (data.code == 200) { + ComAlert.show(1, '保存成功', function(){ + //$(window).unbind('beforeunload'); + window.location.reload(); + }); + } else { + ComAlert.show(2, data.msg); } - }); + } }); - + }); // before upload