Lines 1245-1251
Link Here
|
1245 |
[% END %] |
1245 |
[% END %] |
1246 |
|
1246 |
|
1247 |
<h2>Existing holds</h2> |
1247 |
<h2>Existing holds</h2> |
1248 |
<div id="toolbar" class="btn-toolbar"> |
1248 |
<div id="toolbar" class="btn-toolbar sticky"> |
1249 |
<div class="btn-group"> |
1249 |
<div class="btn-group"> |
1250 |
<input type="hidden" name="op" value="cud-modifyall"> |
1250 |
<input type="hidden" name="op" value="cud-modifyall"> |
1251 |
<input type="submit" class="btn btn-primary" name="submit" value="Update hold(s)" /> |
1251 |
<input type="submit" class="btn btn-primary" name="submit" value="Update hold(s)" /> |
Lines 1480-1486
Link Here
|
1480 |
[% INCLUDE 'datatables.inc' %] |
1480 |
[% INCLUDE 'datatables.inc' %] |
1481 |
[% INCLUDE 'calendar.inc' %] |
1481 |
[% INCLUDE 'calendar.inc' %] |
1482 |
[% INCLUDE 'columns_settings.inc' %] |
1482 |
[% INCLUDE 'columns_settings.inc' %] |
1483 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
|
|
1484 |
[% INCLUDE 'select2.inc' %] |
1483 |
[% INCLUDE 'select2.inc' %] |
1485 |
[% Asset.js("js/holds.js") | $raw%] |
1484 |
[% Asset.js("js/holds.js") | $raw%] |
1486 |
[% Asset.js("js/form-submit.js") | $raw%] |
1485 |
[% Asset.js("js/form-submit.js") | $raw%] |
Lines 1498-1504
Link Here
|
1498 |
"bKohaColumnsUseNames": true, |
1497 |
"bKohaColumnsUseNames": true, |
1499 |
}, hold_table_settings); |
1498 |
}, hold_table_settings); |
1500 |
}); |
1499 |
}); |
1501 |
var Sticky; |
|
|
1502 |
var biblionumbers = [[% biblionumbers.join(', ') | $raw %]]; |
1500 |
var biblionumbers = [[% biblionumbers.join(', ') | $raw %]]; |
1503 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
1501 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
1504 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
1502 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
Lines 1865-1876
Link Here
|
1865 |
[% END %] |
1863 |
[% END %] |
1866 |
[% END %] |
1864 |
[% END %] |
1867 |
|
1865 |
|
1868 |
Sticky = $("#toolbar"); |
|
|
1869 |
Sticky.hcSticky({ |
1870 |
stickTo: "#existing_holds", |
1871 |
stickyClass: "floating" |
1872 |
}); |
1873 |
|
1874 |
[% IF Koha.Preference('EnableItemGroupHolds') %] |
1866 |
[% IF Koha.Preference('EnableItemGroupHolds') %] |
1875 |
$(':radio[name="item_group_id"]').change(function(){ |
1867 |
$(':radio[name="item_group_id"]').change(function(){ |
1876 |
$('input[name="checkitem"]').prop('checked', false); |
1868 |
$('input[name="checkitem"]').prop('checked', false); |