Fix changing user role js event

This commit is contained in:
Khanh Ngo 2018-12-03 09:39:02 +07:00
parent 9e14c3eb39
commit 1e6b668189
No known key found for this signature in database
GPG key ID: B9AE3BAF6D5A7B22

View file

@ -126,7 +126,7 @@
});
// handle user role changing
$('.user_role').on('change', function() {
$(document.body).on('change', '.user_role', function() {
var role_name = this.value;
var username = $(this).prop('id');
var postdata = {