]> git.koha-community.org Git - koha.git/commit
Bug 23713: Subscription add form broken for translations
authorOwen Leonard <oleonard@myacpl.org>
Tue, 1 Oct 2019 15:55:19 +0000 (15:55 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 15 Nov 2019 08:29:53 +0000 (09:29 +0100)
commitb4520c0a383d3e3ba9cf038a50e30306c57ba16e
tree404763fb148a0b96ebdb264d4c98e71f88e390d0
parentc6ebf0e5cf3acd2d4d06a798ad8af7c173dab382
Bug 23713: Subscription add form broken for translations

This patch makes a change to the subscription entry template as a
workaround to a translation bug which is causing JavaScript errors when
using translated templates.

To test, apply the patch and update and install the de-DE template:

> cd misc/translator
> perl translate update de-DE
> perl translate install de-DE

 - Go to Administration -> System preferences and enable the "Deutsch
   (de-DE)" language under I18N/L10N preferences -> language.
 - Switch to the "Deutsch" translation.
 - Go to Zeitschriften (Serials) -> Neues Abonnement (New subscription)
   and open the browser console. There should be no errors.
 - Links which trigger JavaScript events should work correctly:
   "Lieferant suchen," "Nach Datensatz suchen," etc.

Reported-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Thanks-to: Michael Hoffert and Alexander Arlt from koha-de for reporting
 it initially and figuring out the root of the issue
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0dd2d6883d1e98bed92b25c321110b37da739e88)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt