forked from Cavemanon/cavepaintings
delete by query on admin page -> delete these images on search results
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user