Bugzilla – Attachment 81029 Details for
Bug 20970
Reformat basket information on acquisitions basket page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20970: Add preventDefault to avoid trailing # to be added to the url
Bug-20970-Add-preventDefault-to-avoid-trailing--to.patch (text/plain), 1.73 KB, created by
Jonathan Druart
on 2018-10-23 15:09:29 UTC
(
hide
)
Description:
Bug 20970: Add preventDefault to avoid trailing # to be added to the url
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-23 15:09:29 UTC
Size:
1.73 KB
patch
obsolete
>From e1cfb59474e4a2268e1041183af11a9ff6ac03c3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 23 Oct 2018 12:08:20 -0300 >Subject: [PATCH] Bug 20970: Add preventDefault to avoid trailing # to be added > to the url > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index 4951bc1729..49dd37cf1c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -829,21 +829,25 @@ > }); > > $("#set_managing_library").on("click", function(e){ >+ e.preventDefault(); > $(this).hide(); > $("#managing_library_entry").show(); > }); > >- $("#library_entry_cancel").on("click", function(){ >+ $("#library_entry_cancel").on("click", function(e){ >+ e.preventDefault(); > $("#managing_library_entry").hide(); > $("#set_managing_library").show(); > }); > > $("#set_basket_group").on("click", function(e){ >+ e.preventDefault(); > $(this).hide(); > $("#basket_grouping").show(); > }); > >- $("#basket_group_cancel").on("click", function(){ >+ $("#basket_group_cancel").on("click", function(e){ >+ e.preventDefault(); > $("#basket_grouping").hide(); > $("#set_basket_group").show(); > }); >-- >2.11.0
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 20970
:
76213
|
76214
|
77498
|
77521
|
79172
|
80354
|
80954
|
81028
| 81029