Lines 1251-1257
Link Here
|
1251 |
[% END %] |
1251 |
[% END %] |
1252 |
|
1252 |
|
1253 |
<h2>Existing holds</h2> |
1253 |
<h2>Existing holds</h2> |
1254 |
<div id="toolbar" class="btn-toolbar"> |
1254 |
<div id="toolbar" class="btn-toolbar sticky"> |
1255 |
<div class="btn-group"> |
1255 |
<div class="btn-group"> |
1256 |
<input type="hidden" name="op" value="cud-modifyall"> |
1256 |
<input type="hidden" name="op" value="cud-modifyall"> |
1257 |
<input type="submit" class="btn btn-primary" name="submit" value="Update hold(s)" /> |
1257 |
<input type="submit" class="btn btn-primary" name="submit" value="Update hold(s)" /> |
Lines 1486-1492
Link Here
|
1486 |
[% INCLUDE 'datatables.inc' %] |
1486 |
[% INCLUDE 'datatables.inc' %] |
1487 |
[% INCLUDE 'calendar.inc' %] |
1487 |
[% INCLUDE 'calendar.inc' %] |
1488 |
[% INCLUDE 'columns_settings.inc' %] |
1488 |
[% INCLUDE 'columns_settings.inc' %] |
1489 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
|
|
1490 |
[% INCLUDE 'select2.inc' %] |
1489 |
[% INCLUDE 'select2.inc' %] |
1491 |
[% Asset.js("js/holds.js") | $raw%] |
1490 |
[% Asset.js("js/holds.js") | $raw%] |
1492 |
[% Asset.js("js/form-submit.js") | $raw%] |
1491 |
[% Asset.js("js/form-submit.js") | $raw%] |
Lines 1504-1510
Link Here
|
1504 |
"bKohaColumnsUseNames": true, |
1503 |
"bKohaColumnsUseNames": true, |
1505 |
}, hold_table_settings); |
1504 |
}, hold_table_settings); |
1506 |
}); |
1505 |
}); |
1507 |
var Sticky; |
|
|
1508 |
var biblionumbers = [[% biblionumbers.join(', ') | $raw %]]; |
1506 |
var biblionumbers = [[% biblionumbers.join(', ') | $raw %]]; |
1509 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
1507 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
1510 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
1508 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
Lines 1849-1860
Link Here
|
1849 |
[% END %] |
1847 |
[% END %] |
1850 |
[% END %] |
1848 |
[% END %] |
1851 |
|
1849 |
|
1852 |
Sticky = $("#toolbar"); |
|
|
1853 |
Sticky.hcSticky({ |
1854 |
stickTo: "#existing_holds", |
1855 |
stickyClass: "floating" |
1856 |
}); |
1857 |
|
1858 |
[% IF Koha.Preference('EnableItemGroupHolds') %] |
1850 |
[% IF Koha.Preference('EnableItemGroupHolds') %] |
1859 |
$(':radio[name="item_group_id"]').change(function(){ |
1851 |
$(':radio[name="item_group_id"]').change(function(){ |
1860 |
$('input[name="checkitem"]').prop('checked', false); |
1852 |
$('input[name="checkitem"]').prop('checked', false); |