[Koha-patches] [PATCH] Fix for Bug 3271, Missing message when adding to a list with no items selected
Owen Leonard
oleonard at myacpl.org
Mon Jun 28 17:14:25 CEST 2010
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
More information about the Koha-patches
mailing list