Bug 26204: Remove the use of jquery.checkboxes plugin from staff interface lists
This patch removes the use of the jquery.checkboxes plugin from the
staff interface lists page.
To test, apply the patch, go to Lists, and view the contents of a
list with multiple titles on it.
Check that the "Select all" and "Clear all" links work correctly.
Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2de2b1330f)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
8f5f65ed45
commit
d9d5edb22a
|
|
@ -544,13 +544,18 @@
|
|||
});
|
||||
$("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-remove\"></i>"+_(" Clear all")+"<\/a>");
|
||||
$("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-check\"></i>"+_(" 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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue