Lines 613-632
Link Here
|
613 |
</fieldset> |
613 |
</fieldset> |
614 |
<fieldset class="rows"> |
614 |
<fieldset class="rows"> |
615 |
<legend> |
615 |
<legend> |
616 |
<button type="button"> |
616 |
[% IF force_hold_level == 'item' || force_hold_level == 'item_group' %] |
617 |
[% IF force_hold_level == 'item' || force_hold_level == 'item_group' %] |
617 |
<input type="radio" id="requestany" name="request" disabled="true" /> |
618 |
<input type="radio" id="requestany" name="request" disabled="true" /> |
618 |
[% ELSIF force_hold_level == 'record' %] |
619 |
[% ELSIF force_hold_level == 'record' %] |
619 |
<input type="radio" id="requestany" checked="checked" value="Any" disabled="true"/> |
620 |
<input type="radio" id="requestany" checked="checked" value="Any" disabled="true"/> |
620 |
<input type="hidden" name="request" value="Any"/> |
621 |
<input type="hidden" name="request" value="Any"/> |
621 |
<span class="error"><i>(Required)</i></span> |
622 |
<span class="error"><i>(Required)</i></span> |
622 |
[% ELSE %] |
623 |
[% ELSE %] |
623 |
<input type="radio" id="requestany" name="request" checked="checked" value="Any" /> |
624 |
<input type="radio" id="requestany" name="request" checked="checked" value="Any" /> |
624 |
[% END %] |
625 |
[% END %] |
625 |
<label for="requestany" class="inline"> |
626 |
<label for="requestany" class="inline"> |
626 |
Hold next available item |
627 |
Hold next available item |
627 |
</label> |
628 |
</label> |
|
|
629 |
</button> |
630 |
</legend> |
628 |
</legend> |
631 |
<input type="hidden" name="alreadyreserved" value="[% alreadyreserved | html %]" /> |
629 |
<input type="hidden" name="alreadyreserved" value="[% alreadyreserved | html %]" /> |
632 |
<fieldset class="enable_request_any disable_request_group disable_request_specific"> |
630 |
<fieldset class="enable_request_any disable_request_group disable_request_specific"> |
Lines 796-814
Link Here
|
796 |
|
794 |
|
797 |
<fieldset class="rows"> |
795 |
<fieldset class="rows"> |
798 |
<legend> |
796 |
<legend> |
799 |
<button type="button"> |
797 |
[% IF force_hold_level == 'item' %] |
800 |
[% IF force_hold_level == 'item' %] |
798 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific" checked="checked" disabled='disabled'/> |
801 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific" checked="checked" disabled='disabled'/> |
799 |
<span class="error"><em>(Required)</em></span> |
802 |
<span class="error"><em>(Required)</em></span> |
800 |
[% ELSIF force_hold_level == 'record' || force_hold_level == 'item_group' %] |
803 |
[% ELSIF force_hold_level == 'record' || force_hold_level == 'item_group' %] |
801 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific" disabled='disabled'/> |
804 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific" disabled='disabled'/> |
802 |
[% ELSE %] |
805 |
[% ELSE %] |
803 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific"/> |
806 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific"/> |
804 |
[% END %] |
807 |
[% END %] |
805 |
<label for="requestspecificitem" class="inline"> |
808 |
<label for="requestspecificitem" class="inline"> |
806 |
Hold a specific item |
809 |
Hold a specific item |
807 |
</label> |
810 |
</label> |
|
|
811 |
</button> |
812 |
</legend> |
808 |
</legend> |
813 |
|
809 |
|
814 |
<fieldset class="enable_request_specific disable_request_any disable_request_group"> |
810 |
<fieldset class="enable_request_specific disable_request_any disable_request_group"> |
Lines 1681-1696
Link Here
|
1681 |
|
1677 |
|
1682 |
function ToggleHoldsToPlace() { |
1678 |
function ToggleHoldsToPlace() { |
1683 |
if ( $("#requestany").prop('checked') ) { |
1679 |
if ( $("#requestany").prop('checked') ) { |
1684 |
$(".disable_request_any").prop('disabled',true); |
1680 |
$(".disable_request_any").prop('disabled',true).addClass('disabled').removeClass('enabled'); |
1685 |
$(".enable_request_any").prop('disabled',false); |
1681 |
$(".enable_request_any").prop('disabled',false).removeClass('disabled').addClass('enabled'); |
1686 |
$(".requestspecific,.requestgrp").prop('checked', false); |
1682 |
$(".requestspecific,.requestgrp").prop('checked', false); |
1687 |
} else if( $(".requestspecific").prop('checked') ) { |
1683 |
} else if( $(".requestspecific").prop('checked') ) { |
1688 |
$(".disable_request_specific").prop('disabled',true); |
1684 |
$(".disable_request_specific").prop('disabled',true).addClass('disabled').removeClass('enabled'); |
1689 |
$(".enable_request_specific").prop('disabled',false); |
1685 |
$(".enable_request_specific").prop('disabled',false).removeClass('disabled').addClass('enabled'); |
1690 |
$("#requestany,.requestgrp").prop('checked', false); |
1686 |
$("#requestany,.requestgrp").prop('checked', false); |
1691 |
} else { |
1687 |
} else { |
1692 |
$(".disable_request_group").prop('disabled',true); |
1688 |
$(".disable_request_group").prop('disabled',true).addClass('disabled').removeClass('enabled'); |
1693 |
$(".enable_request_group").prop('disabled',false); |
1689 |
$(".enable_request_group").prop('disabled',false).removeClass('disabled').addClass('enabled'); |
1694 |
$("#requestany,.requestspecific").prop('checked', false); |
1690 |
$("#requestany,.requestspecific").prop('checked', false); |
1695 |
} |
1691 |
} |
1696 |
} |
1692 |
} |
1697 |
- |
|
|