(fix) Assign from task page is closed at opening item card [SCI-10063] (#6985)

This commit is contained in:
Gregor Lasnibat 2024-01-23 09:26:30 +01:00 committed by GitHub
parent 53253b462e
commit 85cd24fa81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

View file

@ -546,12 +546,8 @@ export default {
},
handleOpeningFromBootstrapModal() {
const layout = document.querySelector('.sci--layout');
const openModals = layout.querySelectorAll('.modal');
openModals.forEach((modal) => {
if ($(modal).hasClass('in') && !$(modal).hasClass('full-screen')) {
$(modal).modal('hide');
}
});
const openModals = layout.querySelectorAll('.modal.in:not(.modal-full-screen)');
openModals.forEach((modal) => $(modal).modal('hide'));
},
loadRepositoryRow(repositoryRowUrl, scrollTop = 0) {
this.dataLoading = true;

View file

@ -1,4 +1,4 @@
<div class="modal custom-z-index" id="myModuleRepositoryFullViewModal" data-keyboard="false" role="dialog" >
<div class="modal modal-full-screen custom-z-index" id="myModuleRepositoryFullViewModal" data-keyboard="false" role="dialog" >
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">