Authored by 陶雨

资源管理修改删除事件

... ... @@ -139,14 +139,3 @@ $(document).on("click", ".delbtn", function() {
});
});
});
\ No newline at end of file
$(document).on("click", ".delbtn", function () {
var item = g.rows[$(this).data("index")];
common.dialog.confirm("警告", "是否确认删除?", function () {
common.util.__ajax({
url: "/resources/deleteResourceById",
data: {id: item.id}
}, function () {
g.reload();
});
});
});
\ No newline at end of file
... ...