[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:18:34 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25251
--- Comment #5 from Owen Leonard <oleonard at myacpl.org> ---
Nick what would you think of this:
$("#batchedit-disabled,#batchdelete-disabled,#deleteallitems-disabled")
.on("click",function(e){
- e.preventDefault();
- alertNoItems();
+ e.stopPropagation();
})
.tooltip();
This would remove the alert, but it would also prevent the menu from closing
when the user clicks on a disabled link. This makes sense to me because a user
clicking on a disabled link probably means they're not paying attention. In
that case having nothing happen is better than having something happen (even if
it's just the menu closing).
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list