Bug 11821: disable catalog edit menu items and provide explanations when actions...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 21 Feb 2014 20:27:41 +0000 (15:27 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 Jun 2014 10:57:15 +0000 (12:57 +0200)
commit204d01187d697a2e95584d135bacfecc892fb7b3
treeef8735cc7390f39b8ed821279d044e299350484f
parent7fbdda3e04fb675394746f9afbf680be34d641c7
Bug 11821: disable catalog edit menu items and provide explanations when actions cannot be done

Biblio edit menu items which are disabled should trigger a tooltip
on hover and an alert on click with explanations. This patch implements
this for the relevent menu items.

To test, apply the patch for Bug 11829 if necessary. Find a record which
has no items attached. Test the following views:

- Normal
- MARC
- Labeled MARC
- ISBD
- Items

Test these Edit menu items:

- Edit items in a batch
- Delete items in a batch
- Delete all items

Hovering over these menu items should trigger an explanatory tooltip.
Clicking the menu items should trigger a similar alert.

Next, locate a title with items attached. On the same pages above, test
the Edit -> Delete record menu item. Hovering should trigger an
explanatory tooltip. Clicking it should trigger a similar alert.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script, works nicely.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 5c1691a8013bd38d6bae8b00a8950e1417695176)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc