修复 Admi n删除分享文件的JS错误

修复 JQuery 获取 delete 对象错误
pull/33/head
Instrye 8 years ago committed by GitHub
parent a57dd79319
commit 0ea0902059
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"));
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);

Loading…
Cancel
Save