From: Owen Leonard Date: Thu, 7 Feb 2008 06:11:45 +0000 (-0600) Subject: Writing the cart button to the DOM with js so that non-js users don't see it X-Git-Tag: v3.00.00-beta~453 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=f4be121a3039f9041abdace1f5615b00603c7ef4;p=koha_fer Writing the cart button to the DOM with js so that non-js users don't see it Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 858d375b5f..0a63dca922 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -62,7 +62,7 @@ -CartLists +Lists diff --git a/koha-tmpl/opac-tmpl/prog/en/js/script.js b/koha-tmpl/opac-tmpl/prog/en/js/script.js index 018473f9f4..c26c537616 100644 --- a/koha-tmpl/opac-tmpl/prog/en/js/script.js +++ b/koha-tmpl/opac-tmpl/prog/en/js/script.js @@ -68,6 +68,7 @@ YAHOO.util.Event.onContentReady("listsmenu", function () { $("#listsmenu").css("display","block").css("visibility","hidden"); $("#cartDetails").css("display","block").css("visibility","hidden"); + $("#cmspan").html("Cart"); $('.btn').each(function(){ var b = $(this); var tt = b.text() || b.val();