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)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 6 Dec 2011 16:07:57 +0000 (17:07 +0100)
commit3be1252e1bab40bd43821e66e2cfc69471e24132
treedc5f15373250f8ab66f01842c307baecbd061b5b
parent93cd5bd501c9f9d19261bdb5ef429961d56330af
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>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc