Commit 83a6108f by Dányi Bence

webui: disable reload after group-member remove

parent fc692ce3
......@@ -397,12 +397,13 @@ $(function() {
$('#group-members .remove').click(function(e) {
e.preventDefault();
e.stopPropagation();
var neptun = $(this).data('neptun');
$.ajax({
type: 'POST',
url: '/ajax/group/' + $(this).data('gid') + '/remove/',
data: 'neptun=' + $(this).data('neptun'),
data: 'neptun=' + neptun,
success: function(data) {
window.location.reload();
$('#member-' + neptun).slideUp(700);
}
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment