Admins can now delete other admins, but not themselves.

This commit is contained in:
Ismo Vuorinen
2013-07-18 13:01:24 +03:00
parent 140dcd21d5
commit 61f5693474
3 changed files with 29 additions and 5 deletions

View File

@@ -38,6 +38,10 @@ jQuery(document).ready(function($) {
}
});
$('.deleteuser').on('click', function () {
return confirm('Oletko varma?');
});
// Provide zebra striping to our table
$('table tbody tr:odd').addClass("zebra");