Merge pull request #33 from Instrye/patch-1

修复 Admin删除分享文件的JS错误
pull/34/head
AaronLiu 8 years ago committed by GitHub
commit a82bee0216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ $("#order").children().click(function() {
$.cookie('orderMethodShare', $(this).children().attr("data-method")); $.cookie('orderMethodShare', $(this).children().attr("data-method"));
location.href = "/Admin/Shares?page=1"; location.href = "/Admin/Shares?page=1";
}) })
$("[data-action='delete'").click(function() { $("[data-action='delete']").click(function() {
var shareId = $(this).attr("data-id"); var shareId = $(this).attr("data-id");
$(this).attr("disabled", "true"); $(this).attr("disabled", "true");
var thisObj = $(this); var thisObj = $(this);

Loading…
Cancel
Save