Lines 1080-1086
Link Here
|
1080 |
[% END %] |
1080 |
[% END %] |
1081 |
|
1081 |
|
1082 |
<h2>Existing holds</h2> |
1082 |
<h2>Existing holds</h2> |
1083 |
<div id="toolbar" class="btn-toolbar"> |
1083 |
<div id="toolbar" class="btn-toolbar sticky"> |
1084 |
<div class="btn-group"> |
1084 |
<div class="btn-group"> |
1085 |
<input type="hidden" name="op" value="cud-modifyall"> |
1085 |
<input type="hidden" name="op" value="cud-modifyall"> |
1086 |
<input type="submit" class="btn btn-primary" name="submit" value="Update hold(s)" /> |
1086 |
<input type="submit" class="btn btn-primary" name="submit" value="Update hold(s)" /> |
Lines 1315-1321
Link Here
|
1315 |
[% INCLUDE 'datatables.inc' %] |
1315 |
[% INCLUDE 'datatables.inc' %] |
1316 |
[% INCLUDE 'calendar.inc' %] |
1316 |
[% INCLUDE 'calendar.inc' %] |
1317 |
[% INCLUDE 'columns_settings.inc' %] |
1317 |
[% INCLUDE 'columns_settings.inc' %] |
1318 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
|
|
1319 |
[% INCLUDE 'select2.inc' %] |
1318 |
[% INCLUDE 'select2.inc' %] |
1320 |
[% Asset.js("js/holds.js") | $raw%] |
1319 |
[% Asset.js("js/holds.js") | $raw%] |
1321 |
|
1320 |
|
Lines 1332-1338
Link Here
|
1332 |
"bKohaColumnsUseNames": true, |
1331 |
"bKohaColumnsUseNames": true, |
1333 |
}, hold_table_settings); |
1332 |
}, hold_table_settings); |
1334 |
}); |
1333 |
}); |
1335 |
var Sticky; |
|
|
1336 |
var biblionumbers = [[% biblionumbers.join(', ') | $raw %]]; |
1334 |
var biblionumbers = [[% biblionumbers.join(', ') | $raw %]]; |
1337 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
1335 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
1338 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
1336 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
Lines 1687-1698
Link Here
|
1687 |
[% END %] |
1685 |
[% END %] |
1688 |
[% END %] |
1686 |
[% END %] |
1689 |
|
1687 |
|
1690 |
Sticky = $("#toolbar"); |
|
|
1691 |
Sticky.hcSticky({ |
1692 |
stickTo: "#existing_holds", |
1693 |
stickyClass: "floating" |
1694 |
}); |
1695 |
|
1696 |
[% IF Koha.Preference('EnableItemGroupHolds') %] |
1688 |
[% IF Koha.Preference('EnableItemGroupHolds') %] |
1697 |
$(':radio[name="item_group_id"]').change(function(){ |
1689 |
$(':radio[name="item_group_id"]').change(function(){ |
1698 |
$(':radio[name="checkitem"]').prop('checked', false); |
1690 |
$(':radio[name="checkitem"]').prop('checked', false); |