[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
Fri May 10 17:46:04 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10225
Nicole C. Engard <nengard at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #18050|0 |1
is obsolete| |
--- Comment #2 from Nicole C. Engard <nengard at gmail.com> ---
Created attachment 18076
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18076&action=edit
[SIGNED-OFF] 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.
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
All test pass
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list