Bugzilla – Attachment 97664 Details for
Bug 23594
Add ability to batch modify itemtypes from the suggestions page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23594: Fix [un]checkall links
Bug-23594-Fix-uncheckall-links.patch (text/plain), 1.96 KB, created by
Jonathan Druart
on 2020-01-21 13:22:48 UTC
(
hide
)
Description:
Bug 23594: Fix [un]checkall links
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-01-21 13:22:48 UTC
Size:
1.96 KB
patch
obsolete
>From 34f0db4fe809c5af6bac2e0856b412052697e1a2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 22 Oct 2019 11:51:54 +0200 >Subject: [PATCH] Bug 23594: Fix [un]checkall links >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Sponsored-by: BULAC - http://www.bulac.fr/ > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index 075b7c62a9..11a5cbfe2d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -498,7 +498,7 @@ > <form class="update_suggestions" name="f" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#tab_[% loop.count %]"> > > [% IF ( suggestion.suggestions_loop ) %] >-<p><a class="checkall" href="#">Check all</a> | <a name="uncheckall" href="#">Uncheck all</a></p> >+<p><a class="checkall" href="#">Check all</a> | <a class="uncheckall" href="#">Uncheck all</a></p> > <table id="table_[% loop.count %]" class="sorted"> > <thead> > <tr> >@@ -856,11 +856,13 @@ > [% END %] > > $(".checkall").click(function(e){ >- $(this).parent(form).checkCheckboxes(); >+ e.preventDefault(); >+ $(this).parents('form').checkCheckboxes(); > return false; > }); > $(".uncheckall").click(function(e){ >- $(this).parent(form).unCheckCheckboxes(); >+ e.preventDefault(); >+ $(this).parents('form').unCheckCheckboxes(); > return false; > }); > $(".other_reason").hide(); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23594
:
94469
|
94520
|
94521
|
94834
|
94835
|
94836
|
97663
|
97664
|
97665
|
97693
|
97781
|
98094
|
98095
|
98096
|
98097
|
98098
|
98099