Revert "bug #1274 multi page popup modal fix"

This commit is contained in:
Tobias 2024-02-11 15:29:47 +01:00 committed by GitHub
parent 8aad120bd8
commit f2641de0c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -74,8 +74,8 @@
</div> </div>
<!-- Modal for opening in modal view --> <!-- Modal for opening in modal view -->
<IframeModal <IframeModal
:ref="`iframeModal`" :ref="`iframeModal-${groupId}`"
:name="`iframeModal`" :name="`iframeModal-${groupId}`"
@closed="$emit('itemClicked')" @closed="$emit('itemClicked')"
/> />
<!-- Edit item menu --> <!-- Edit item menu -->
@ -213,7 +213,7 @@ export default {
methods: { methods: {
/* Opens the iframe modal */ /* Opens the iframe modal */
triggerModal(url) { triggerModal(url) {
this.$refs.iframeModal.show(url); this.$refs[`iframeModal-${this.groupId}`].show(url);
}, },
/* Sorts items alphabetically using the title attribute */ /* Sorts items alphabetically using the title attribute */
sortAlphabetically(items) { sortAlphabetically(items) {