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

--- Comment #1 from Owen Leonard <[email protected]> ---
Created attachment 25590
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25590&action=edit
Bug 11832 - JavaScript error on staff client place hold screen if record has no
items

If a hold operation is blocked because the title has no items attached
the patron search autocomplete JavaScript triggers an error. This patch
modifies the template so that the JS is loaded only when items are
present.

To test, find a title which has no items attached. View the holds page
for that title. There should be no JavaScript error. Patron search
autocomplete should still work correctly for titles which have items
attached.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to