Lines 113-118
Link Here
|
113 |
.rank-request { |
113 |
.rank-request { |
114 |
width: 50px; |
114 |
width: 50px; |
115 |
} |
115 |
} |
|
|
116 |
#cancellation-reason-div { |
117 |
display: flex; |
118 |
align-items: center; |
119 |
} |
116 |
</style> |
120 |
</style> |
117 |
[% END %] |
121 |
[% END %] |
118 |
</head> |
122 |
</head> |
Lines 1299-1305
Link Here
|
1299 |
<div class="btn-group"> |
1303 |
<div class="btn-group"> |
1300 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
1304 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
1301 |
</div> |
1305 |
</div> |
1302 |
<fieldset id="cancellation-reason-fieldset" class="action" style="display:none"> |
1306 |
<div id="cancellation-reason-div" style="display:none"> |
1303 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
1307 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
1304 |
[% IF hold_cancellation.count %] |
1308 |
[% IF hold_cancellation.count %] |
1305 |
<label for="cancellation-reason">Cancellation reason: </label> |
1309 |
<label for="cancellation-reason">Cancellation reason: </label> |
Lines 1310-1316
Link Here
|
1310 |
[% END %] |
1314 |
[% END %] |
1311 |
</select> |
1315 |
</select> |
1312 |
[% END %] |
1316 |
[% END %] |
1313 |
</fieldset> |
1317 |
</div> |
1314 |
[% IF ( CAN_user_reserveforothers_alter_hold_targets ) %] |
1318 |
[% IF ( CAN_user_reserveforothers_alter_hold_targets ) %] |
1315 |
<div class="btn-group"> |
1319 |
<div class="btn-group"> |
1316 |
<a class="btn dropdown-toggle move_selected_holds" id="item_record_choice" role="button" data-bs-toggle="dropdown" href="#" aria-expanded="false" disabled="disabled"></a> |
1320 |
<a class="btn dropdown-toggle move_selected_holds" id="item_record_choice" role="button" data-bs-toggle="dropdown" href="#" aria-expanded="false" disabled="disabled"></a> |
Lines 1614-1625
Link Here
|
1614 |
$.fn.select2.defaults.set("dropdownAutoWidth", true ); |
1618 |
$.fn.select2.defaults.set("dropdownAutoWidth", true ); |
1615 |
|
1619 |
|
1616 |
$(document).ready(function() { |
1620 |
$(document).ready(function() { |
1617 |
$('#cancellation-reason-fieldset').hide(); |
1621 |
$('#cancellation-reason-div').hide(); |
1618 |
$('.rank-request').on('change', function() { |
1622 |
$('.rank-request').on('change', function() { |
1619 |
if ( $(".rank-request option:selected[value='del']").length ) { |
1623 |
if ( $(".rank-request option:selected[value='del']").length ) { |
1620 |
$('#cancellation-reason-fieldset').show(); |
1624 |
$('#cancellation-reason-div').show(); |
1621 |
} else { |
1625 |
} else { |
1622 |
$('#cancellation-reason-fieldset').hide(); |
1626 |
$('#cancellation-reason-div').hide(); |
1623 |
} |
1627 |
} |
1624 |
}); |
1628 |
}); |
1625 |
|
1629 |
|
1626 |
- |
|
|