[Koha-bugs] [Bug 24341] Allow for more complex markup in OPAC confirmation dialogs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 3 18:49:21 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24341

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 96796
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96796&action=edit
Bug 24341: Allow for more complex markup in OPAC confirmation dialogs

This patch changes the globally-available confirmModal() function in the
OPAC so that it uses jQuery's html() function for adding information to
the confirmation modal's body. This will allow for more than just plain
text to be added.

This patch also removes some obsolete lines from the JavaScript in
opac-user.tt and renames some variable for clarity.

To test, apply the patch 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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list