@@ -, +, @@
staff interface lists
---
.../prog/en/modules/virtualshelves/shelves.tt | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
@@ -544,13 +544,18 @@
});
$("span.clearall").html(""+_(" Clear all")+"<\/a>");
$("span.checkall").html(""+_(" Select all")+"<\/a>");
- $("#CheckAll").click(function(){
- $(".checkboxed").checkCheckboxes();
- return false;
+ $("#CheckAll").click(function(e){
+ e.preventDefault();
+ $(".selection").each(function(){
+ $(this).prop("checked", true);
+ });
});
- $("#CheckNone").click(function(){
- $(".checkboxed").unCheckCheckboxes();
- return false;
+
+ $("#CheckNone").click(function(e){
+ e.preventDefault();
+ $(".selection").each(function(){
+ $(this).prop("checked", false);
+ });
});
$(".placehold").on("click",function(e){
placeHold();
--