mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 15:05:26 +08:00
Fix user counter bug on project card (#1662)
This commit is contained in:
parent
7f20b7fa20
commit
2b92a987e6
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@
|
||||||
|
|
||||||
function initManageUsersModal() {
|
function initManageUsersModal() {
|
||||||
// Reload users tab HTML element when modal is closed
|
// Reload users tab HTML element when modal is closed
|
||||||
projectActionsModal.off().on('hide.bs.modal', function() {
|
projectActionsModal.off('hide.bs.modal').on('hide.bs.modal', function() {
|
||||||
var projectEl = $('#' + $(this).attr('data-project-id'));
|
var projectEl = $('#' + $(this).attr('data-project-id'));
|
||||||
|
|
||||||
// Load HTML to refresh users list
|
// Load HTML to refresh users list
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// Remove modal content when modal window is closed.
|
// Remove modal content when modal window is closed.
|
||||||
projectActionsModal.off().on('hidden.bs.modal', function() {
|
projectActionsModal.off('hidden.bs.modal').on('hidden.bs.modal', function() {
|
||||||
projectActionsModalHeader.html('');
|
projectActionsModalHeader.html('');
|
||||||
projectActionsModalBody.html('');
|
projectActionsModalBody.html('');
|
||||||
projectActionsModalFooter.html('');
|
projectActionsModalFooter.html('');
|
||||||
|
|
Loading…
Reference in a new issue