mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 23:35:00 +08:00
Clear full view repository modal before open
This commit is contained in:
parent
d714b4b7bf
commit
40b266ee0d
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