diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
index 65047eb133..0a0a62cc6a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
@@ -638,14 +638,21 @@
});
[% END #/print %]
+
- [% IF op == 'list' %]
+ [% IF op == 'list' %]
+
+
+
+ [% END # /IF op == 'list' %]
- [% IF shelf AND op == 'view' %]
- $(document).ready(function(){
- $("span.clearall").html(""+_(" Clear all")+"<\/a>");
- $("span.checkall").html(""+_(" Select all")+"<\/a>");
- $("#CheckAll").click(function(e){
- e.preventDefault();
- $(".selection").each(function(){
- $(this).prop("checked", true);
- });
- });
+ [% IF shelf AND op == 'view' %]
+
+
+
+ [% END # /IF shelf AND op == 'view' %]
- [% IF shelf AND op == 'edit_form' %]
+ [% IF shelf AND op == 'edit_form' %]
+
+ [% END %]
+
+ [% IF op == 'view' %]
+
+ [% END %]
- [% END %]
-
[% IF op == 'transfer' %]