[Koha-bugs] [Bug 25251] When a record has no items click delete all does not need an alert
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 14 19:29:18 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25251
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #131669|0 |1
is obsolete| |
--- Comment #7 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 131674
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131674&action=edit
Bug 25251: Remove alert from disabled buttons
This patch removes the alert, but adds a stopPropagation call
in order to not close the menu when the disabled buttons are clicked
To test:
1 - Find a record with items in the staff interface
2 - Click edit
3 - Note 'Edit items in a batch, 'Delete items in a batch', and 'Delete all
items' are grayed out
4 - Note hovering displays a note that there are no items
5 - Click on each anyway, an alert is generated, menu is closed
6 - Apply patch
7 - Reload page
8 - Click on each disabled option and confirm
- there is no more alert
- the menu does not close
9 - Confirm tooltip is displayed
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list