Koha/koha-tmpl/opac-tmpl/bootstrap/js
Owen Leonard bee15e627f Bug 21870: Convert browser alerts to modals: OPAC user summary
This patch updates the user summary page in the OPAC so that JavaScript
alerts are replaced with Bootstrap modals. This provides us the ability
to more carefully control the content of confirmation dialogs and their
control buttons.

A global function for defining a modal confirmation boxes has been
added, to which one can pass:

 - The modal title
 - Body
 - Text for submit and cancel buttons
 - A callback function to trigger on submit

To test, apply the patch and clear your browser cache if necessary.

 - Log in to the OPAC as a user who has holds and article requests.
 - Test the following interactions, both the confirmation and cancel
   options for each:
     - Cancel a hold
     - Suspend all holds
     - Resume all holds
     - Cancel an article request

Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-02-26 14:36:17 +00:00
..
amazonimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
authtoresults.js Bug 17153: Redirect to search when logging in from search 2018-06-29 20:49:51 +00:00
bakertaylorimages.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
basket.js Bug 21174: (follow-up) Removed MSG_IN_YOUR_CART and its usage in OPAC JS 2018-10-17 14:31:42 +00:00
browserid_include.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
coce.js Bug 9580 Cover images from Coce, a remote image URL cache 2015-04-01 09:31:42 -03:00
datatables.js Bug 7547: printing a sorted cart 2018-07-02 11:48:41 +00:00
global.js Bug 21870: Convert browser alerts to modals: OPAC user summary 2019-02-26 14:36:17 +00:00
google-jackets.js Bug 7594: Google Cover Javascript contains hardcoded CSS style 2016-03-23 23:07:36 +00:00
googleindictransliteration.js Bug 13144: Google transliteration does not work on bootstrap 2014-11-06 09:52:22 -03:00
localcovers.js BUG 11602: [ENH] Fix localcover display 2015-12-04 16:12:52 +00:00
openlibrary.js Bug 16615: Follow up - missed a spot 2016-08-18 15:38:26 +00:00
overdrive.js Bug 21542: Use modal and password field for overdrive password 2018-10-17 12:26:18 +00:00
recordedbooks.js Bug 17602: Move spinner location to include file 2018-10-01 13:56:59 +00:00
script.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
tags.js Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00