Bugzilla – Attachment 162603 Details for
Bug 30255
Allow skipping "list" step for record batch modification/deletion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30255: Show hint there will be no confirmation when selecting "Modify all"
Bug-30255-Show-hint-there-will-be-no-confirmation-.patch (text/plain), 2.19 KB, created by
David Gustafsson
on 2024-02-29 15:29:28 UTC
(
hide
)
Description:
Bug 30255: Show hint there will be no confirmation when selecting "Modify all"
Filename:
MIME Type:
Creator:
David Gustafsson
Created:
2024-02-29 15:29:28 UTC
Size:
2.19 KB
patch
obsolete
>From 9a8c127806dbedf94b05a224534ffccd52bffdb1 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >Date: Wed, 28 Feb 2024 18:51:38 +0100 >Subject: [PATCH] Bug 30255: Show hint there will be no confirmation when > selecting "Modify all" > >--- > .../en/modules/tools/batch_record_modification.tt | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >index 9f130045cb4..3cccdcdfa69 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >@@ -166,6 +166,11 @@ > <li><label for="op_modify_all">Modify all: </label><input type="radio" name="op" value="modify_all" id="op_modify_all" /></li> > </ol> > </fieldset> >+ <fieldset class="brief" id="modify_all_hint" style="display: none;"> >+ <div class="hint"> >+ This will perform the modifications directly, without a confirmation step. >+ </div> >+ </fieldset> > <fieldset class="action"> > <input type="submit" class="btn btn-primary" value="Continue" /> > <a class="cancel" href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cancel</a> >@@ -324,6 +329,16 @@ > update_tab_display(); > }); > >+ let $modify_all_hint = $('#modify_all_hint'); >+ $("input[type=radio][name=op]").change(function() { >+ if (this.value === "modify_all") { >+ $modify_all_hint.show(); >+ } >+ else { >+ $modify_all_hint.hide(); >+ } >+ }).filter(':checked').trigger('change'); >+ > $("#selectall").click(function(e){ > e.preventDefault(); > $(".records input[type='checkbox']").each(function(){ >-- >2.43.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 30255
:
131527
|
151289
|
151382
|
162547
| 162603