if (!changeSelection(newCopiesRowId, true)) {
return false;
}
- $(".copiesrow:not(" + newCopiesRowId + ")").hide();
// Show the specific copy table for this radio button.
$(newCopiesRowId).show();
}
// Hide the copies table row
- $(".copiesrow").hide();
+ $(newCopiesRowId).hide();
});
// When 'Place Hold' button is clicked
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"));
});
});
[% END %]
[% END %]
</ul>
- </div>
- </fieldset>
- <br style="clear:both" />
[% IF ( OPACItemHolds ) %]
[% IF ( bibitemloo.holdable ) %]
[% END %]<!-- bib_available -->
[% END %]<!-- OPACItemHolds -->
+ </div>
+ </fieldset>
[% END %]
[% END %] <!-- if message -->