Bugzilla – Attachment 174581 Details for
Bug 38136
Refactor database translations (alternative)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38136: Fix behavior of lang selector in translations editor
Bug-38136-Fix-behavior-of-lang-selector-in-transla.patch (text/plain), 1.12 KB, created by
Julian Maurice
on 2024-11-15 13:26:21 UTC
(
hide
)
Description:
Bug 38136: Fix behavior of lang selector in translations editor
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2024-11-15 13:26:21 UTC
Size:
1.12 KB
patch
obsolete
>From 90a16f3f6d731d1a8c260fb2f1984a55988be0c6 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 15 Nov 2024 14:23:09 +0100 >Subject: [PATCH] Bug 38136: Fix behavior of lang selector in translations > editor > >--- > .../intranet-tmpl/prog/en/modules/admin/localization.tt | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >index 05da3414b2..023b9ea9cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >@@ -216,6 +216,11 @@ > }); > $("td.lang").on('click', function(){ > var td = this; >+ if (td.childElementCount > 0) { >+ // do nothing if there is already something there (like a select for instance) >+ return; >+ } >+ > var lang = $(td).text(); > $(td).css('background-color', ''); > var my_select = $(languages_select).clone(); >-- >2.39.2
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 38136
:
172585
|
172804
|
173195
|
173196
|
173197
|
173198
|
174578
|
174579
|
174580
| 174581 |
174598
|
174599