Bugzilla – Attachment 171694 Details for
Bug 37812
Adjust Vue modals for Bootstrap 5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37812: Prevent non-functional close buttons by using vue event handlers
Bug-37812-Prevent-non-functional-close-buttons-by-.patch (text/plain), 2.14 KB, created by
David Nind
on 2024-09-18 21:07:24 UTC
(
hide
)
Description:
Bug 37812: Prevent non-functional close buttons by using vue event handlers
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-09-18 21:07:24 UTC
Size:
2.14 KB
patch
obsolete
>From 497a4d02c704a9e0c3389282042e7b44b0c4cef1 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Tue, 17 Sep 2024 13:27:57 +0000 >Subject: [PATCH] Bug 37812: Prevent non-functional close buttons by using vue > event handlers > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../prog/js/vue/components/Preservation/TrainsShow.vue | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue >index d54057263d..407c560dd5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue >@@ -16,7 +16,7 @@ > <button > type="button" > class="btn-close" >- data-bs-dismiss="modal" >+ @click="closeModal" > aria-label="Close" > ></button> > </div> >@@ -60,7 +60,7 @@ > <button > class="btn btn-default deny cancel" > type="button" >- data-bs-dismiss="modal" >+ @click="closeModal" > > > <i class="fa fa-times"></i> Cancel > </button> >@@ -537,7 +537,7 @@ export default { > .then( > success => { > this.setMessage(this.$__("Item copied successfully.")) >- $("#copy_item_to_train").hide() >+ this.closeModal() > }, > error => { > this.setWarning( >@@ -548,6 +548,9 @@ export default { > } > ) > }, >+ closeModal() { >+ $("#copy_item_to_train").hide() >+ }, > clearAll() { > this.selected_items = [] > if (this.item_table.display) { >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37812
:
170956
|
171252
|
171253
|
171604
|
171605
|
171625
|
171641
|
171651
|
171690
|
171691
|
171692
|
171693
|
171694
|
171695
|
171696
|
171697
|
171702
|
171703
|
171704
|
171705
|
171706
|
171707
|
171708
|
171758
|
171780
|
171781
|
171786