Lines 108-114
Link Here
|
108 |
if (!changeSelection(newCopiesRowId, true)) { |
108 |
if (!changeSelection(newCopiesRowId, true)) { |
109 |
return false; |
109 |
return false; |
110 |
} |
110 |
} |
111 |
$(".copiesrow:not(" + newCopiesRowId + ")").hide(); |
|
|
112 |
|
111 |
|
113 |
// Show the specific copy table for this radio button. |
112 |
// Show the specific copy table for this radio button. |
114 |
$(newCopiesRowId).show(); |
113 |
$(newCopiesRowId).show(); |
Lines 126-132
Link Here
|
126 |
} |
125 |
} |
127 |
|
126 |
|
128 |
// Hide the copies table row |
127 |
// Hide the copies table row |
129 |
$(".copiesrow").hide(); |
128 |
$(newCopiesRowId).hide(); |
130 |
}); |
129 |
}); |
131 |
|
130 |
|
132 |
// When 'Place Hold' button is clicked |
131 |
// When 'Place Hold' button is clicked |
Lines 182-193
Link Here
|
182 |
e.preventDefault(); |
181 |
e.preventDefault(); |
183 |
toggleLink = $(this); |
182 |
toggleLink = $(this); |
184 |
var optionsID = this.id.replace("toggle-hold-options-",""); |
183 |
var optionsID = this.id.replace("toggle-hold-options-",""); |
185 |
var copiesRow = $("#copiesrow_"+optionsID) |
|
|
186 |
$("#hold-options-"+optionsID).toggle(0, function() { |
184 |
$("#hold-options-"+optionsID).toggle(0, function() { |
187 |
if( copiesRow.is(':visible') ){ |
|
|
188 |
$("#reqany_"+optionsID).prop("checked",true); |
189 |
copiesRow.hide(); |
190 |
} |
191 |
toggleLink.text($(this).is(':visible') ? _("Hide options") : _("Show more options")); |
185 |
toggleLink.text($(this).is(':visible') ? _("Hide options") : _("Show more options")); |
192 |
}); |
186 |
}); |
193 |
}); |
187 |
}); |
Lines 468-475
Link Here
|
468 |
[% END %] |
462 |
[% END %] |
469 |
[% END %] |
463 |
[% END %] |
470 |
</ul> |
464 |
</ul> |
471 |
</div> |
|
|
472 |
</fieldset> |
473 |
<br style="clear:both" /> |
465 |
<br style="clear:both" /> |
474 |
[% IF ( OPACItemHolds ) %] |
466 |
[% IF ( OPACItemHolds ) %] |
475 |
[% IF ( bibitemloo.holdable ) %] |
467 |
[% IF ( bibitemloo.holdable ) %] |
Lines 552-557
Link Here
|
552 |
[% END %]<!-- bib_available --> |
544 |
[% END %]<!-- bib_available --> |
553 |
|
545 |
|
554 |
[% END %]<!-- OPACItemHolds --> |
546 |
[% END %]<!-- OPACItemHolds --> |
|
|
547 |
</div> |
548 |
</fieldset> |
555 |
[% END %] |
549 |
[% END %] |
556 |
|
550 |
|
557 |
[% END %] <!-- if message --> |
551 |
[% END %] <!-- if message --> |
558 |
- |
|
|