Bug 9679 - can't place hold from cart in CCSR
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 May 2013 13:50:51 +0000 (09:50 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 12 May 2013 13:57:53 +0000 (09:57 -0400)
commitd0f93e67726ed242e1124d36ed00d1a4a3645701
treea5503f67d2805fc8f6b405adb8afaa2107c3004c
parentb81b89b672fb699981e9d3a1fa562e719bdc6e9a
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

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Confirmed patch fixes the problem described.
All tests and QA script pass, JavaScript only change.
No strings involved, save for inclusion in 3.12.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/ccsr/en/js/basket.js