pull/38/head
HFO4 8 years ago
commit 33e56ca287

@ -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);
@ -50,7 +50,7 @@ $("[data-action='delete'").click(function() {
} }
}); });
}) })
$("[data-action='change'").click(function() { $("[data-action='change']").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