mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-10 01:19:45 +08:00
Merge pull request #2584 from aignatov-bio/ai-sci-4654-clear-fullview-modal-before-open
Clear full view repository modal before open [SCI-4654]
This commit is contained in:
commit
51d9f054ee
1 changed files with 7 additions and 0 deletions
|
@ -417,6 +417,13 @@ var MyModuleRepositories = (function() {
|
|||
FULL_VIEW_MODAL.find('.repository-versions-sidebar').empty();
|
||||
FULL_VIEW_MODAL.find('.modal-content').removeClass('show-sidebar');
|
||||
FULL_VIEW_MODAL.find('#showVersionsSidebar').removeClass('active');
|
||||
FULL_VIEW_TABLE.destroy();
|
||||
});
|
||||
|
||||
FULL_VIEW_MODAL.on('show.bs.modal', function() {
|
||||
FULL_VIEW_MODAL.find('.table-container').empty();
|
||||
FULL_VIEW_MODAL.find('.repository-name').empty();
|
||||
updateFullViewRowsCount('');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue