Authored by FengRuwei

删除提示

... ... @@ -144,7 +144,8 @@ var doDelType = function () {
console.log("delete " + id);
$.get("type/del", {"id": id},
function (data, state) {
$('#jstree').jstree("delete_node", $("#" + id));
$.toaster('删除成功', '删除', 'info');
$('#jstree').jstree("delete_node", $("#node_" + id));
}
).fail(function () {
$.toaster('删除失败:', '提示', 'warning');
... ...