Skip to content

Commit

Permalink
DEBUG 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 24, 2024
1 parent fe89d5a commit c19ea3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/src/services/modal.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ class ModalService {
onComplete: function (response, content) {
const modelsContainer = $('.ui.dimmer.modals.page')[0];
$($.parseHTML(response.html)).find('.ui.modal[id]').each((i, e) => {
if ($(modelsContainer).find('#' + e.id).length > 0) {
window.location.href = "about:blank";
}
$(modelsContainer).find('#' + e.id).remove();
});

Expand Down

0 comments on commit c19ea3b

Please sign in to comment.