From 864b56e62c9bfa22c8afc4f10066c0b615fdb8fe Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Tue, 13 Oct 2026 14:19:40 +0200 Subject: [PATCH] resolved error with modal dispose; removed dispose, issue with bubbling hide events in nested modals --- public/js/components/Bootstrap/Modal.js | 19 +++++++++++-------- .../Details/Kontakt/Contact.js | 2 +- .../Details/Projektarbeit/Projektbetreuer.js | 4 +++- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/public/js/components/Bootstrap/Modal.js b/public/js/components/Bootstrap/Modal.js index 778951c46..14d19c37b 100644 --- a/public/js/components/Bootstrap/Modal.js +++ b/public/js/components/Bootstrap/Modal.js @@ -103,13 +103,6 @@ export default { keyboard: this.keyboard }); }, - //to avoid pagelocks if more than one instance - beforeUnmount() { - if (this.modal) { - this.modal.dispose(); - this.modal = null; - } - }, popup(body, options, title, footer) { const BsModal = this, slots = {}; @@ -164,7 +157,17 @@ export default { }); }); }, - template: `