Lines 611-617
Link Here
|
611 |
</li> |
611 |
</li> |
612 |
</ol> |
612 |
</ol> |
613 |
</fieldset> |
613 |
</fieldset> |
614 |
<fieldset class="rows"> |
614 |
<fieldset class="rows any_specific"> |
615 |
<legend> |
615 |
<legend> |
616 |
[% IF force_hold_level == 'item' || force_hold_level == 'item_group' %] |
616 |
[% IF force_hold_level == 'item' || force_hold_level == 'item_group' %] |
617 |
<input type="radio" id="requestany" name="request" disabled="true" /> |
617 |
<input type="radio" id="requestany" name="request" disabled="true" /> |
Lines 792-798
Link Here
|
792 |
[% END %] |
792 |
[% END %] |
793 |
<!-- /ItemGroup level holds --> |
793 |
<!-- /ItemGroup level holds --> |
794 |
|
794 |
|
795 |
<fieldset class="rows"> |
795 |
<fieldset class="rows any_specific"> |
796 |
<legend> |
796 |
<legend> |
797 |
[% IF force_hold_level == 'item' %] |
797 |
[% IF force_hold_level == 'item' %] |
798 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific" checked="checked" disabled='disabled'/> |
798 |
<input type="radio" id="requestspecificitem" name="request" class="requestspecific" checked="checked" disabled='disabled'/> |
Lines 1691-1696
Link Here
|
1691 |
} |
1691 |
} |
1692 |
} |
1692 |
} |
1693 |
|
1693 |
|
|
|
1694 |
$('.any_specific').click(function() { |
1695 |
const fieldset = $(this).find('fieldset:first'); |
1696 |
$('.enable_request_specific, .enable_request_any').removeClass('enabled'); |
1697 |
|
1698 |
if ( fieldset.hasClass('disabled') ) { |
1699 |
const specific_cb = $(this).find('#requestspecificitem'); |
1700 |
const any_cb = $(this).find('#requestany'); |
1701 |
|
1702 |
if ( specific_cb.length ) { |
1703 |
specific_cb.prop('checked', true); |
1704 |
} else { |
1705 |
any_cb.prop('checked', true); |
1706 |
} |
1707 |
|
1708 |
fieldset.removeClass('disabled').addClass('enabled'); |
1709 |
ToggleHoldsToPlace(); |
1710 |
} |
1711 |
}); |
1712 |
|
1694 |
function check( e, table ) { |
1713 |
function check( e, table ) { |
1695 |
|
1714 |
|
1696 |
var msg = ""; |
1715 |
var msg = ""; |
1697 |
- |
|
|