]> git.koha-community.org Git - koha.git/commit
Bug 16962: Remove the use of "onclick" from serial collection template
authorOwen Leonard <oleonard@myacpl.org>
Tue, 17 Mar 2020 18:44:23 +0000 (18:44 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 22 Apr 2020 12:31:21 +0000 (13:31 +0100)
commit5f586e3d963be70dc1d3b5f55494f40227e43adf
tree706c43540742a7d53fa1c93e97d4ce35b0712a13
parent74b8c05cfb72146c738d41e88da13346c47d4d22
Bug 16962: Remove the use of "onclick" from serial collection template

This patch removes the use of event attributes like "onclick" from the
serial collection template. Events are now defined in JavaScript.

To test, apply the patch and go to Serials

- Locate or create a subscription for which an item record is NOT
  created when receiving.
  - On the serial collection page for this subscription, test that the
    "Multi receiving" button works correctly.
  - For any subscription, test that the "Generate next" button works
    correctly.
  - In each tab, test that the "select all" and "clear all" links work
    correctly and affect only that tab.
  - On a subscription which has expired, test that the "Renew" button
    works correctly.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt