Skip to content
Snippets Groups Projects
Commit f48ed452 authored by Marco De Donno's avatar Marco De Donno
Browse files

Add autoreload on new user added to the trainee list

parent 30dc7ca5
No related branches found
No related tags found
No related merge requests found
......@@ -91,11 +91,12 @@
success: function( data )
{
if( !data.error )
{
toastr.success( "Users added" );
else
setTimeout( function(){ window.location.reload(); }, 1000 );
} else {
toastr.error( data.msg, "Server error" );
}
$( "#new_users_confirmation" ).remove();
},
error: function( data )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment