]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 May 2016 17:40:51 +0000 (17:40 +0000)
commitc7ca98c8d9a2647f422f6446239ec67c91261aa1
tree8b2a66a37dbc78b3c33ecbaef81360f316526721
parent908fdb572ab90541ecf1700eb716eeb5c1399553
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>
koha-tmpl/opac-tmpl/bootstrap/js/basket.js