未验证 提交 a82bee02 编写于 作者: A AaronLiu 提交者: GitHub

Merge pull request #33 from Instrye/patch-1

修复 Admin删除分享文件的JS错误
......@@ -32,7 +32,7 @@ $("#order").children().click(function() {
$.cookie('orderMethodShare', $(this).children().attr("data-method"));
location.href = "/Admin/Shares?page=1";
})
$("[data-action='delete'").click(function() {
$("[data-action='delete']").click(function() {
var shareId = $(this).attr("data-id");
$(this).attr("disabled", "true");
var thisObj = $(this);
......@@ -79,4 +79,4 @@ $("#delAll").click(function(){
}, function(data) {
location.href = "/Admin/Shares?page=1";
});
})
\ No newline at end of file
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册