]> git.koha-community.org Git - koha.git/commit
Bug 16516: Define the showListsUpdate JS function at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 13 May 2016 18:21:47 +0000 (19:21 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 25 May 2016 09:25:48 +0000 (11:25 +0200)
commit98a39cee301ee0bc6a2b9c7cb4eeb30a443b4141
treebbeeff925fb716f20c18de06223e1a3e29b2390c
parent66036d0eb611dbacc106b610b0a3507ba58536d7
Bug 16516: Define the showListsUpdate JS function at the OPAC

Bug 12233 removes the declaration of the showListsUpdate JS function for
the OPAC.
It results in a JS error (ReferenceError: showListsUpdate is not
defined) when a user tries to add selected titles to a list if no title
is selected.

Test plan:
Launch a catalogue search
Select a list in the "Select titles to" dropdown list
=> Without this patch you will get the JS error
=> With this patch you will get a JS alert "No item was selected"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c7ca98c8d9a2647f422f6446239ec67c91261aa1)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/js/basket.js