mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
Fix changing user role js event
This commit is contained in:
parent
9e14c3eb39
commit
1e6b668189
@ -126,7 +126,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// handle user role changing
|
// handle user role changing
|
||||||
$('.user_role').on('change', function() {
|
$(document.body).on('change', '.user_role', function() {
|
||||||
var role_name = this.value;
|
var role_name = this.value;
|
||||||
var username = $(this).prop('id');
|
var username = $(this).prop('id');
|
||||||
var postdata = {
|
var postdata = {
|
||||||
|
Loading…
Reference in New Issue
Block a user