update scripEditor.js
This commit is contained in:
parent
786374fa68
commit
ef8a7a9a2e
|
@ -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.");
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue