[Koha-patches] [PATCH] bug 2971: Fixed leak by removing drop shadow instead of hiding it.

Stephen Edwards sedwards at alloycomputing.com
Thu Feb 19 21:55:43 CET 2009


Changed blanket "hide()" of all drop shadows to "removeShadow()" of
the specific one for the cart list.
---
 koha-tmpl/opac-tmpl/prog/en/js/basket.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/js/basket.js b/koha-tmpl/opac-tmpl/prog/en/js/basket.js
index 3c3bbcd..5c5f87e 100644
--- a/koha-tmpl/opac-tmpl/prog/en/js/basket.js
+++ b/koha-tmpl/opac-tmpl/prog/en/js/basket.js
@@ -420,7 +420,7 @@ function showCart(){
 }
 
 function hideCart(){
-		 $(".dropShadow").hide();
+		 $("#cartDetails").removeShadow();
 		 $("#cartDetails").fadeOut("fast");
 }
 
-- 
1.5.6.5




More information about the Koha-patches mailing list