From 6b0a84c26d72875255fd8f1ede184d9fe37cdf26 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 15 Mar 2011 01:45:14 -0400 Subject: [PATCH] Bug 5863: Add to Your Cart disappeared if login disabled on opac detail Resolving an error in ready function by additional conditionals. Moving a line from ready to html just as in other view templates, correcting the order of menu options at the same time. Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index 9ed2c9889d..468e90f78a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -22,10 +22,10 @@ widgets : ['zebra'], sortList: [[0,0]] }); - KOHA.Google.GetCoverFromIsbn(); - $(".tagbutton").click(KOHA.Tags.add_tag_button); - $("a.print").parent().after("
  • "+_("Add to Your Cart")+"<\/a><\/li>"); -}); + KOHA.Google.GetCoverFromIsbn(); + $(".tagbutton").click(KOHA.Tags.add_tag_button); + +}); YAHOO.util.Event.onContentReady("furtherm", function () { $("#furtherm").css("display","block").css("visibility","hidden"); @@ -805,6 +805,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
  • +
  • '); return false;">Add to Your Cart
  • More searches
  • -- 2.39.5