Bugzilla – Attachment 18068 Details for
Bug 9769
Replace YUI buttons on acquisitions basket page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9679 - can't place hold from cart in CCSR
SIGNED-OFF-Bug-9679---cant-place-hold-from-cart-in.patch (text/plain), 1.67 KB, created by
Nicole C. Engard
on 2013-05-10 14:17:43 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9679 - can't place hold from cart in CCSR
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2013-05-10 14:17:43 UTC
Size:
1.67 KB
patch
obsolete
>From 021c5705d5692beeecc293296f88fd05846a62ad Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 10 May 2013 09:50:51 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 9679 - can't place hold from cart in CCSR > >When the CCSR theme is enabled, selecting items in the cart and clicking >"place hold" triggers a JavaScript error and fails. This patch adds a >function missing from the CCSR version of basket.js. > >To test, apply the patch and clear your browser cache. > >- Enable the CCSR theme and put items into the OPAC cart. >- Open the cart, select one or more items, and click "place hold." > >The cart should automatically close and the main window should redirect >to the holds screen showing your selections. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >All test passed > >http://bugs.koha-community.org/show_bug.cgi?id=9769 >--- > koha-tmpl/opac-tmpl/ccsr/en/js/basket.js | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/ccsr/en/js/basket.js b/koha-tmpl/opac-tmpl/ccsr/en/js/basket.js >index 115880f..adc0c8f 100644 >--- a/koha-tmpl/opac-tmpl/ccsr/en/js/basket.js >+++ b/koha-tmpl/opac-tmpl/ccsr/en/js/basket.js >@@ -397,6 +397,16 @@ function showLess() { > document.location = loc; > } > >+function holdSel() { >+ var items = document.getElementById('records').value; >+ if (items) { >+ parent.opener.document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers=" + items; >+ window.close(); >+ } else { >+ alert(MSG_NO_RECORD_SELECTED); >+ } >+} >+ > function updateBasket(updated_value,target) { > if(target){ > target.$('#basketcount').html("<span>"+updated_value+"</span>"); >-- >1.7.2.3
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 9769
:
15976
|
16240
|
16269
|
16573
|
18068