Fix for Bug 3271, Missing message when adding to a list with no items selected

There is no visible Lists button to "attach" our warning to
as there is in the OPAC, so warning message is displayed via
a javascript alert.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2010-11-12 23:16:56 -05:00 committed by Chris Cormack
parent be54744836
commit fcb3668512

View file

@ -210,9 +210,7 @@ function showCartUpdate(msg){
function showListsUpdate(msg){
// set body of popup window
$("#listsDetails").html(msg);
showLists();
setTimeout("hideLists()",2000);
alert(msg);
}
function selRecord(num, status) {