Merge pull request #2581 from urbanrotnik/ur-sci-4640-wrong-snapshot-displayed

Hide sidebar Versions by default [SCI-4640]
This commit is contained in:
Urban Rotnik 2020-05-19 10:27:57 +02:00 committed by GitHub
commit 1dc0e2b40b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -412,6 +412,12 @@ var MyModuleRepositories = (function() {
});
e.stopPropagation();
});
FULL_VIEW_MODAL.on('hidden.bs.modal', 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');
});
}
function initRepositoryFullView() {