mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-06 03:56:57 +08:00
编辑器视频+文件管组件删除错误修复
This commit is contained in:
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user