delete by query on admin page -> delete these images on search results

This commit is contained in:
Shish
2012-03-10 18:50:10 +00:00
parent 3801ce1bec
commit 82414b279d
3 changed files with 43 additions and 42 deletions

View File

@ -76,6 +76,15 @@ $(document).ready(function() {
})
});
$(".shm-unlocker").each(function(idx, elm) {
var tid = $(elm).data("unlock-id");
var tob = $("#"+tid);
$(elm).click(function(e) {
$(elm).attr("disabled", true);
tob.attr("disabled", false);
});
});
if(document.location.hash.length > 3) {
query = document.location.hash.substring(1);
a = document.getElementById("prevlink");