From 37e9cbc042e9946cba2dbf33724254df1805fae4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 5 May 2010 10:50:38 -0400 Subject: [PATCH] Fix for Bug 4416, renew all and return all buttons too close together This patch removes the "return all" button altogether. Returning all items is a step which one wouldn't take lightly or even regularly. Since the interface has a means of selecting all checkboxes in the "Check in" column, removing the "Return all" button wouldn't eliminate the means of doing so, it would just require more deliberation. Signed-off-by: Galen Charlton --- .../intranet-tmpl/prog/en/modules/circ/circulation.tmpl | 5 ----- .../intranet-tmpl/prog/en/modules/members/moremember.tmpl | 2 -- 2 files changed, 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl index de47e2097b..980d195af2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl @@ -47,10 +47,6 @@ var allcheckboxes = $(".checkboxed"); $(allcheckboxes).checkCheckboxes(":input[name*=items]"); $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); }); - $("#return_all").click(function(){ - $(allcheckboxes).checkCheckboxes(":input[name*=barcodes]"); - $(allcheckboxes).unCheckCheckboxes(":input[name*=items]"); - }); $("#CheckAllitems").click(function(){ $(allcheckboxes).checkCheckboxes(":input[name*=items]"); $(allcheckboxes).unCheckCheckboxes(":input[name*=barcodes]"); return false; @@ -813,7 +809,6 @@ No patron matched - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl index af3c41c680..67e9397fd1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl @@ -37,7 +37,6 @@ $(document).ready(function() { return confirm(_('Are you sure you want to replace the current patron image? This cannot be undone.')); }); $("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); }); - $("#return_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]" ); }); $("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); $("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); $("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); @@ -505,7 +504,6 @@ if (nodename =="barcodes[]"){ -

Patron has nothing checked out.

-- 2.39.5