[Koha-bugs] [Bug 16372] Replace the use of "onclick" for deletion confirmation in some templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 27 18:39:59 CEST 2016


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 50832
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50832&action=edit
Bug 16372 - Replace the use of "onclick" for deletion confirmation in some
templates

This patch removes the use of event attributes from several templates
where the attributes were used to handle deletion operations. I've
grouped these changes in one patch because each template had only small
changes to be made.

Unrelated change: Reformatted the "no news items" message which is
displayed if there are no news items.

To test, apply the patch and test deletion operations on the following
pages. Clicking "delete" should prompty you to confirm. Test both the
confirm and cancel actions.

- On the staff client home page, test deletion of a news item.
- On the patron lists page, test deletion of a patron list.
- In the patron card creator, choose Manage -> Images. Test the "Delete"
  button for a single image.
- On the news page, test deletion of a single news item.
- On the news page, test deletion of multiple items.

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


More information about the Koha-bugs mailing list