diff --git a/public/static/common/lib/ueditor/dialogs/attachment/attachment.js b/public/static/common/lib/ueditor/dialogs/attachment/attachment.js index afbc4002f93e50050b0db5150b2ad0a0a1efba90..e4404cc34abf8bd8504f9dbb9f3a40d08a8e65ee 100755 --- a/public/static/common/lib/ueditor/dialogs/attachment/attachment.js +++ b/public/static/common/lib/ueditor/dialogs/attachment/attachment.js @@ -796,7 +796,7 @@ if(!confirm("确定要删除吗?")) return; var url = editor.getOpt("serverUrl"); var join = (url.indexOf('?') == -1) ? '?' : '&'; - $.post(url + join+"?action=deletefile", { "id": del.attr("data-id") }, function(response) { + $.post(url + join+"action=deletefile", { "id": del.attr("data-id") }, function(response) { if (response.code == 0) { del.parent().remove(); diff --git a/public/static/common/lib/ueditor/dialogs/video/video.js b/public/static/common/lib/ueditor/dialogs/video/video.js index 5a9224bb7e4383b6933a621d67ab307e9b4cb089..47537009a614f4c76c437c2b73f7c460e4b053fd 100755 --- a/public/static/common/lib/ueditor/dialogs/video/video.js +++ b/public/static/common/lib/ueditor/dialogs/video/video.js @@ -344,7 +344,7 @@ if(!confirm("确定要删除吗?")) return; var url = editor.getOpt("serverUrl"); var join = (url.indexOf('?') == -1) ? '?' : '&'; - $.post(url + join+"?action=deletefile", { "id": del.attr("data-id") }, function(response) { + $.post(url + join+"action=deletefile", { "id": del.attr("data-id") }, function(response) { if (response.code == 0) { del.parent().remove();