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.
---
.../prog/en/modules/circ/circulation.tmpl | 5 -----
.../prog/en/modules/members/moremember.tmpl | 2 --
2 files changed, 0 insertions(+), 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 de47e20..980d195 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 <span class="ex"><!-- TMPL_VAR
name="message" --></span>
<!-- /TMPL_IF -->
<input type="submit" name="renew_checked" value="Renew or Return
checked items" />
<input type="submit" id="renew_all" name="renew_all" value="Renew all"
/>
- <input type="submit" id="return_all" name="return_all" value="Return
all" />
</fieldset>
<!-- /TMPL_IF -->
</form>
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 af3c41c..67e9397 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.'));
});<!-- /TMPL_IF -->
$("#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[]"){
<!-- /TMPL_IF -->
<input type="submit" name="renew_checked" value="Renew or Return
checked items" />
<input type="submit" id="renew_all" name="renew_all" value="Renew all"
/>
- <input type="submit" id="return_all" name="return_all" value="Return
all" />
</fieldset>
</form><!-- TMPL_ELSE --><p>Patron has nothing checked out.</p><!--
/TMPL_IF -->
</div>
--
1.7.0.4
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches