@@ -, +, @@ on the OPAC hold request form button. copy table, are hidden. button is still selected and that the copy selected in step to is selected. request. that toggling the options link for one title on the form affects the visibility only for that title. --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 1 + .../opac-tmpl/prog/en/modules/opac-reserve.tt | 13 +++---------- 2 files changed, 4 insertions(+), 10 deletions(-) --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ a/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -3064,6 +3064,7 @@ padding: 0.1em 0; .holdrow fieldset { border : 0; margin : 0; + float: none; } .hold-options { clear : both; --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -108,7 +108,6 @@ if (!changeSelection(newCopiesRowId, true)) { return false; } - $(".copiesrow:not(" + newCopiesRowId + ")").hide(); // Show the specific copy table for this radio button. $(newCopiesRowId).show(); @@ -126,7 +125,7 @@ } // Hide the copies table row - $(".copiesrow").hide(); + $(newCopiesRowId).hide(); }); // When 'Place Hold' button is clicked @@ -182,12 +181,7 @@ e.preventDefault(); toggleLink = $(this); var optionsID = this.id.replace("toggle-hold-options-",""); - var copiesRow = $("#copiesrow_"+optionsID) $("#hold-options-"+optionsID).toggle(0, function() { - if( copiesRow.is(':visible') ){ - $("#reqany_"+optionsID).prop("checked",true); - copiesRow.hide(); - } toggleLink.text($(this).is(':visible') ? _("Hide options") : _("Show more options")); }); }); @@ -468,9 +462,6 @@ [% END %] [% END %] - - -
[% IF ( OPACItemHolds ) %] [% IF ( bibitemloo.holdable ) %] @@ -552,6 +543,8 @@ [% END %] [% END %] + + [% END %] [% END %] --