From fcb3668512341d70d3e222426ea6317130793744 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 12 Nov 2010 23:16:56 -0500 Subject: [PATCH] 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 Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/js/basket.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/basket.js b/koha-tmpl/intranet-tmpl/prog/en/js/basket.js index 8a0bd208ce..0ab67113cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/basket.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/basket.js @@ -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) { -- 2.39.5