Bugzilla – Attachment 121871 Details for
Bug 27929
Regex option in item batch modification is hidden for itemcallnumber if 952$o linked to cn_browser plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27929: (QA follow-up) Hide tag editor on regex
Bug-27929-QA-follow-up-Hide-tag-editor-on-regex.patch (text/plain), 1.71 KB, created by
Nick Clemens (kidclamp)
on 2021-06-11 17:45:22 UTC
(
hide
)
Description:
Bug 27929: (QA follow-up) Hide tag editor on regex
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-06-11 17:45:22 UTC
Size:
1.71 KB
patch
obsolete
>From 306329ea7c310c59c38fd71df2c72a0b4fbf0f1b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 11 Jun 2021 17:44:01 +0000 >Subject: [PATCH] Bug 27929: (QA follow-up) Hide tag editor on regex > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >index e5086856c1..7c444d47c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >@@ -395,15 +395,18 @@ > $('a[name="field_regex"]').click(function() { > var id = $(this).attr('id'); > var editor = $(this).parent().find("[name='field_value']"); >+ var tag_editor = $(this).parent().find(".buttonDot"); > var regex = $(this).parent().find("[name='regex_fields']"); > var disable_input = $(this).parent().find("[name='disable_input']"); > if ($(this).html() == 'RegEx') { > $(editor).hide(); > $(regex).show(); >+ $(tag_editor).hide(); > $(this).html('Text'); > $(disable_input).prop('disabled', true); > } else { > $(editor).show(); >+ $(tag_editor).show(); > $(regex).hide(); > $(this).html('RegEx'); > $(disable_input).prop('disabled', false); >-- >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 27929
:
118148
|
121660
|
121870
| 121871