[Koha-bugs] [Bug 18656] Require confirmation of deletion of files from patron record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 9 18:03:22 CEST 2017


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63723|0                           |1
        is obsolete|                            |

--- Comment #13 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 64159
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64159&action=edit
Bug 18656 - Require confirmation of deletion of files from patron record

This patch adds a JavaScript confirm to the deletion of files. It also
styles the file deletion link as a Bootstrap button.

To test, apply the patch and open the "Files" page for a patron who has
files attached.

- Verify that clicking any "delete" link prompts for a confirmation.
- Verify that confirming the dialog triggers the deletion of the correct
  file.
- Verify that canceling the confirmation dialog aborts the deletion.
- Confirm that the "Delete" button looks correct.

Signed-off-by: David Roberts <david.roberts at ptfs-europe.com>

Revision for QA: Replaced '.click(function' with '.on("click",function'

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


More information about the Koha-bugs mailing list