Koha/koha-tmpl/intranet-tmpl
Owen Leonard f78eaf0461
Bug 24335: Cannot mark checkout notes seen/not seen in bulk
This patch changes the way checkbox events are handled on the checkout
notes page so that checking a checkbox enables the batch operation
controls.

Note: The addition of a "markseen" class is a preventative measure to
avoid future problems where using the "btn-small" class might not be
specific enough.

To test you should have multiple checkout notes to work with, both seen
and unseen. Apply the patch and go to "Checkout notes pending" from the
staff client home page.

 - Check any checkbox. The "Mark seen" and "Mark not seen" should go
   from disabled to enabled.
   - Test that the buttons work correctly.
 - Click the "Select all" and "Clear all" controls and confirm that the
   buttons are enabled and disabled correctly.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-01-10 10:50:28 +00:00
..
js Bug 18421: (follow-up) Center image in results table 2019-10-07 14:09:12 +01:00
lib Bug 24089: Upgrade jQuery Validate plugin in the staff client 2020-01-03 15:45:17 +00:00
prog Bug 24335: Cannot mark checkout notes seen/not seen in bulk 2020-01-10 10:50:28 +00:00