[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
Thu Apr 28 05:50:39 CEST 2016


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

Arslan Farooq <arslanone at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #50832|0                           |1
        is obsolete|                            |
           Assignee|oleonard at myacpl.org         |arslanone at gmail.com
             Status|Needs Signoff               |Signed Off
                 CC|                            |arslanone at gmail.com

--- Comment #2 from Arslan Farooq <arslanone at gmail.com> ---
Created attachment 50871
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50871&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.

-----------------------------------------------------

All things were tested and everything worked OK.

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


More information about the Koha-bugs mailing list