mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-11 14:27:04 +08:00
Merge pull request #292 from Ducz0r/lm-sci-664-fix-2
Reload whole page after user is invited from team invite users modal [SCI-664]
This commit is contained in:
commit
f4c9863814
1 changed files with 2 additions and 2 deletions
|
@ -239,8 +239,8 @@ function initReloadPageAfterInviteUsers() {
|
||||||
$('[data-id=org-invite-users-modal]')
|
$('[data-id=org-invite-users-modal]')
|
||||||
.on('hidden.bs.modal', function() {
|
.on('hidden.bs.modal', function() {
|
||||||
if (!_.isUndefined($(this).attr('data-invited'))) {
|
if (!_.isUndefined($(this).attr('data-invited'))) {
|
||||||
// Reload the whole table
|
// Reload page
|
||||||
usersDatatable.ajax.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue