Bugzilla – Attachment 94835 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.95 KB, created by
Séverine Queune
on 2019-10-29 14:04:24 UTC
(
hide
)
Description:
Bug 23594: Fix [un]checkall links
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2019-10-29 14:04:24 UTC
Size:
1.95 KB
patch
obsolete
>From 93920ec6f7790deece1694ceb6f7b327a489918f 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 > >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 6c4935a..bcc182d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -467,7 +467,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> >@@ -815,11 +815,13 @@ > "sPaginationType": "full" > })); > $(".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.1.4
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