|
Lines 343-349
Link Here
|
| 343 |
</div> <!-- / #selections-toolbar --> |
343 |
</div> <!-- / #selections-toolbar --> |
| 344 |
</div> <!-- /#floating --> |
344 |
</div> <!-- /#floating --> |
| 345 |
|
345 |
|
| 346 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
346 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform"> |
| 347 |
[% IF can_manage_shelf %] |
347 |
[% IF can_manage_shelf %] |
| 348 |
<input type="hidden" name="op" value="remove_biblios" /> |
348 |
<input type="hidden" name="op" value="remove_biblios" /> |
| 349 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
349 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
|
Lines 798-804
Link Here
|
| 798 |
|
798 |
|
| 799 |
[% INCLUDE 'opac-bottom.inc' %] |
799 |
[% INCLUDE 'opac-bottom.inc' %] |
| 800 |
[% BLOCK jsinclude %] |
800 |
[% BLOCK jsinclude %] |
| 801 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
|
|
| 802 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
801 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
| 803 |
[% IF OpenLibraryCovers || OpenLibrarySearch %] |
802 |
[% IF OpenLibraryCovers || OpenLibrarySearch %] |
| 804 |
[% Asset.js("js/openlibrary.js") | $raw %] |
803 |
[% Asset.js("js/openlibrary.js") | $raw %] |
|
Lines 893-907
$(function() {
Link Here
|
| 893 |
}); |
892 |
}); |
| 894 |
[% END %] |
893 |
[% END %] |
| 895 |
|
894 |
|
| 896 |
$("#CheckAll").click(function(){ |
895 |
$("#CheckAll").on("click",function(e){ |
| 897 |
$(".checkboxed").checkCheckboxes(); |
896 |
e.preventDefault(); |
|
|
897 |
$(".cb").each(function(){ |
| 898 |
$(this).prop("checked", true); |
| 899 |
}); |
| 898 |
enableCheckboxActions(); |
900 |
enableCheckboxActions(); |
| 899 |
return false; |
|
|
| 900 |
}); |
901 |
}); |
| 901 |
$("#CheckNone").click(function(){ |
902 |
$("#CheckNone").on("click",function(e){ |
| 902 |
$(".checkboxed").unCheckCheckboxes(); |
903 |
e.preventDefault(); |
|
|
904 |
$(".cb").each(function(){ |
| 905 |
$(this).prop("checked", false); |
| 906 |
}); |
| 903 |
enableCheckboxActions(); |
907 |
enableCheckboxActions(); |
| 904 |
return false; |
|
|
| 905 |
}); |
908 |
}); |
| 906 |
|
909 |
|
| 907 |
$(".cb").click(function(){ |
910 |
$(".cb").click(function(){ |