Authored by 马力

Merge branch 'hotfix_资源位删除功能' into grey

... ... @@ -368,12 +368,12 @@ $(document).on("click", ".del", function () {//删除
common.dialog.confirm("警告",
common.util.__template2("是否确认删除?", {}),
function () {
if (Bll.contentDatas[currIndex][index].id) {
common.util.__ajax({
url: "/resources/delResContent",
data: {id: Bll.contentDatas[currIndex][index].id}
});
}
//if (Bll.contentDatas[currIndex][index].id) {
// common.util.__ajax({
// url: "/resources/delResContent",
// data: {id: Bll.contentDatas[currIndex][index].id}
// });
//}
Bll.contentDatas[currIndex].splice(index, 1);
Bll.__render("#add-content", "template_content", {modules: Bll.contentDatas[currIndex]});
});
... ...