[Koha-patches] [PATCH] [SIGNED-OFF] Fix for Bug 3271, Missing message when adding to a list with no items selected
Galen Charlton
gmcharlt at gmail.com
Sat Nov 13 05:16:56 CET 2010
From: Owen Leonard <oleonard at myacpl.org>
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 at gmail.com>
---
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
More information about the Koha-patches
mailing list