mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-09 22:23:28 +08:00
Reload whole page after user is invited from team invite users modal
Closes SCI-664.
This commit is contained in:
parent
01b01939f3
commit
263244ad83
1 changed files with 2 additions and 2 deletions
|
@ -239,8 +239,8 @@ function initReloadPageAfterInviteUsers() {
|
|||
$('[data-id=org-invite-users-modal]')
|
||||
.on('hidden.bs.modal', function() {
|
||||
if (!_.isUndefined($(this).attr('data-invited'))) {
|
||||
// Reload the whole table
|
||||
usersDatatable.ajax.reload();
|
||||
// Reload page
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue