From ef9a6d9b6c7d7d7de192d8d84fc0a518862e108c Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Wed, 9 Dec 2009 16:41:28 +0100 Subject: [PATCH] (bug #3173) revert non-working code This patch revert 2 functions in OPAC shelves : * Add tags on shelf records * make hold on shelf records The deleted code was backported from HEAD, but cannot be implemented as this in 3.0.x because API doesn't support it. New feature must not be added to 3.0.x, or at least support the good API. --- .../prog/en/modules/opac-shelves.tmpl | 38 +------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl index 1487d14118..a6de2d3b94 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl @@ -9,21 +9,6 @@ $.tablesorter.addParser({ format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, type: 'text' }); -function holdSelections() { - var checkedBoxes = $(":checkbox:checked"); - if ($(checkedBoxes).size() == 0) { - alert(MSG_NO_RECORD_SELECTED); - } else { - var bibs = ""; - $(checkedBoxes).each(function(){ - var name = $(this).attr("name"); - bib = name.substr(4); - bibs += bib + "/"; - }); - document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers="+bibs; - } -} - $(function() { $("span.clearall").html(""+_("Clear All")+""); @@ -47,17 +32,9 @@ $(function() { $(".checkboxed").unCheckCheckboxes(); return false; }); -}); -$(document).ready(function(){ - - $("#tagsel_tag").text("Tag"); - $("#tagsel_button").click(function(){ - tagAdded(); - return false; - }); - }); + //]]> @@ -133,19 +110,6 @@ $(document).ready(function(){ - ','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100')">Send List - - - - - -
-- 2.39.5