mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
add reset user rights from admin panel
This commit is contained in:
@@ -74,13 +74,13 @@ function ini_edit_usrs(){
|
||||
$('#users_rights_form div.switch_right').bind('click', function(event){
|
||||
user_click_box(event, $(this));
|
||||
});
|
||||
$('#right-ajax button.users_rights_valid').bind('click', function(){
|
||||
$('#right-ajax button.users_rights_valid').bind('click', function(){
|
||||
var datas = {
|
||||
users:$('#users_rights_form input[name="users"]').val(),
|
||||
values:$('#users_rights_form').serialize(),
|
||||
template:$('#users_rights_form select[name="template"]').val(),
|
||||
user_infos:$('#user_infos_form').serialize()
|
||||
};
|
||||
};
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/admin/users/rights/apply/',
|
||||
|
Reference in New Issue
Block a user