From ec993fad5298f11b23cdbcac7ae7149b01112e24 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 28 Jun 2010 11:09:42 -0400 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. --- koha-tmpl/intranet-tmpl/prog/en/js/basket.js | 4 +--- 1 files changed, 1 insertions(+), 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 8a0bd20..0ab6711 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) { -- 1.7.0.4