Merge branch 'hotfix_资源位删除功能' into grey
Showing
1 changed file
with
6 additions
and
6 deletions
@@ -368,12 +368,12 @@ $(document).on("click", ".del", function () {//删除 | @@ -368,12 +368,12 @@ $(document).on("click", ".del", function () {//删除 | ||
368 | common.dialog.confirm("警告", | 368 | common.dialog.confirm("警告", |
369 | common.util.__template2("是否确认删除?", {}), | 369 | common.util.__template2("是否确认删除?", {}), |
370 | function () { | 370 | function () { |
371 | - if (Bll.contentDatas[currIndex][index].id) { | ||
372 | - common.util.__ajax({ | ||
373 | - url: "/resources/delResContent", | ||
374 | - data: {id: Bll.contentDatas[currIndex][index].id} | ||
375 | - }); | ||
376 | - } | 371 | + //if (Bll.contentDatas[currIndex][index].id) { |
372 | + // common.util.__ajax({ | ||
373 | + // url: "/resources/delResContent", | ||
374 | + // data: {id: Bll.contentDatas[currIndex][index].id} | ||
375 | + // }); | ||
376 | + //} | ||
377 | Bll.contentDatas[currIndex].splice(index, 1); | 377 | Bll.contentDatas[currIndex].splice(index, 1); |
378 | Bll.__render("#add-content", "template_content", {modules: Bll.contentDatas[currIndex]}); | 378 | Bll.__render("#add-content", "template_content", {modules: Bll.contentDatas[currIndex]}); |
379 | }); | 379 | }); |
-
Please register or login to post a comment