Koha/koha-tmpl/opac-tmpl/prog/en/js
Owen Leonard 3247c1774f Bug 9115 - basket window should close automatically when placing a hold
If you choose to place a hold from the Cart pop-up, the entire
holds process (possibly including login) takes place in the cart
window. Upon completion of the operation you're left with a second
window which has lost its context as the Cart.

This patch revises the hold process so that when you click the
hold link in the cart the operation is moved to the main window
and the Cart window closes.

Since the holdSel() function doesn't require interaction with
template variables I have moved it to basket.js along with the
described changes.

To test, put items in your Cart and open it. Select items to
place on hold and click the "Place hold" link. The cart
should close, and the items you selected should appear on the
place hold screen in the main window.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Checked in Firefox and Chromium in Ubuntu, works nicely.
All tests pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-11-25 18:06:11 -05:00
..
amazonimages.js Second patch to address LL Bug 367 Titles without ISBNs display "no cover image available" while titles with ISBNS that don't match a Syndetics cover display nothing 2009-03-27 17:23:50 -05:00
bakertaylorimages.js This file was missing from previous commit. bakertaylorimages.js manages the display of 'missing cover' text when Baker & Taylor images are used. 2008-11-04 15:47:48 -06:00
basket.js Bug 9115 - basket window should close automatically when placing a hold 2012-11-25 18:06:11 -05:00
datatables.js Bug 6836: followup CSS work 2012-01-27 11:33:12 +01:00
google-jackets.js Bug 5522 - allow google preview to open in a new window 2010-12-21 14:23:49 +13:00
googleindictransliteration.js Use Google Indic Transliteration API to allow users to transliterate english typed words into Indic languages. 2009-06-05 18:05:47 -05:00
localcovers.js Bug 7127 - Follow-up - Templates must be valid XHTML 2012-02-06 21:38:32 +01:00
openlibrary.js 7161 Followup for indentation openlibrary.js 2012-06-29 11:38:02 +02:00
script.js Bug 8624: Move famfamfam out of theme directory 2012-09-19 15:40:55 +02:00
tags.js Bug 8660: Tag status does not show on multiple tag add 2012-11-23 16:38:32 -05:00