[Koha-bugs] [Bug 10225] If an item isn't editable, don't show the onclick Edit/Delete menu

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 9 21:14:07 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10225

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 18050
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18050&action=edit
Bug 10225 - If an item isn't editable, don't show the onclick Edit/Delete menu

The user should not be shown edit/delete links when clicking on a row in
additems which they cannot edit because of the IndependantBranches
setting. This patch adds a class to the row to exclude such rows in the
JavaScript onclick handler.

To test:

- Turn IndependantBranches on and edit items for a title which
  has holdings from various branches including your own.
- Click a row for an item which is held by your library. You should see
  the "Edit/Delete" links appear.
- Click a row for an item which is held by another library. No links
  should appear.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list