]> git.koha-community.org Git - koha.git/commit
Bug 7225 - "Delete all items" should be greyed out when a title has no items
authorOwen Leonard <oleonard@myacpl.org>
Tue, 15 Nov 2011 17:01:19 +0000 (12:01 -0500)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 6 Dec 2011 19:10:27 +0000 (14:10 -0500)
commitcccdb7c22b6f7e71e80c955ce4a9774b46144818
tree76cc83a0abdd96ac31cdf26c0fbc6143f3ebfc90
parent6cbd92b24f05e2c3de7e48a69d5f404740375ba3
Bug 7225 - "Delete all items" should be greyed out when a title has no items

This patch changes the catalog toolbar so that when there are no
items attached to a record the "Delete all items" menu item appears
to be disabled. Clicking it will trigger an alert, "This record
has no items."

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 3be1252e1bab40bd43821e66e2cfc69471e24132)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc