Prevent delete of Guest user #1938
This commit is contained in:
parent
90f2b3fb21
commit
d0a895628e
|
@ -462,7 +462,7 @@ $(function() {
|
|||
$("input[data-name='passwd_role'][data-pk='"+guest.data("pk")+"']").prop("disabled", true);
|
||||
$("input[data-name='edit_shelf_role'][data-pk='"+guest.data("pk")+"']").prop("disabled", true);
|
||||
$("input[data-name='sidebar_read_and_unread'][data-pk='"+guest.data("pk")+"']").prop("disabled", true);
|
||||
$(".user-remove[data-pk='"+guest.data("pk")+"']").prop("disabled", true);
|
||||
$(".user-remove[data-pk='"+guest.data("pk")+"']").hide();
|
||||
},
|
||||
onSort: function(a, b) {
|
||||
console.log("huh");
|
||||
|
|
Loading…
Reference in New Issue
Block a user