Showing
1 changed file
with
1 additions
and
12 deletions
@@ -138,15 +138,4 @@ $(document).on("click", ".delbtn", function() { | @@ -138,15 +138,4 @@ $(document).on("click", ".delbtn", function() { | ||
138 | g.reload(); | 138 | g.reload(); |
139 | }); | 139 | }); |
140 | }); | 140 | }); |
141 | - }); | ||
142 | -$(document).on("click", ".delbtn", function () { | ||
143 | - var item = g.rows[$(this).data("index")]; | ||
144 | - common.dialog.confirm("警告", "是否确认删除?", function () { | ||
145 | - common.util.__ajax({ | ||
146 | - url: "/resources/deleteResourceById", | ||
147 | - data: {id: item.id} | ||
148 | - }, function () { | ||
149 | - g.reload(); | ||
150 | - }); | ||
151 | - }); | ||
152 | -}); | ||
141 | + }); |
-
Please register or login to post a comment