From ef8a7a9a2e58185a8f20c91747a8d105d4d98694 Mon Sep 17 00:00:00 2001 From: daisyonly <1241945585@qq.com> Date: Thu, 4 Sep 2014 15:32:36 +0800 Subject: [PATCH] update scripEditor.js --- .../src/main/webapp/script/scriptManager/scriptEditor.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Bench4Q-Web/src/main/webapp/script/scriptManager/scriptEditor.js b/Bench4Q-Web/src/main/webapp/script/scriptManager/scriptEditor.js index 8b59c4a8..bbc1aae0 100644 --- a/Bench4Q-Web/src/main/webapp/script/scriptManager/scriptEditor.js +++ b/Bench4Q-Web/src/main/webapp/script/scriptManager/scriptEditor.js @@ -34,12 +34,13 @@ $(function() { $("#submitScript").click(function() { - var plugins = usePlugin.getPlugins(); + var formData = new FormData(); + var plugins = usePlugin.getPlugins(formData); var pages = usePlugin.getPages(); if(checkPluginsInput(plugins) && checkPagesInput(pages)) - updateScript(scriptId,pages,plugins); + updateScript(scriptId,pages,plugins,formData); else - information("必填的参数没有填写完整,请补充完整后提交"); + information("Please complete the required parameters."); }); });