[Koha-bugs] [Bug 23703] New: Updating translation bricks creating subscriptions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 30 17:24:53 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23703
Bug ID: 23703
Summary: Updating translation bricks creating subscriptions
Change sponsored?: ---
Product: Koha
Version: 19.05
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: I18N/L10N
Assignee: koha-bugs at lists.koha-community.org
Reporter: b.pastern4k at gmail.com
QA Contact: testopia at bugs.koha-community.org
CC: frederic at tamil.fr
Greetings.
Since 19.05 i have encountered the following bug in ukrainian version - when i
try to create a new subscription console shows me these errors:
1.Uncaught SyntaxError: Unexpected token ';'.
2.Uncaught ReferenceError: irregularity is not defined.
First error is the problem.
This leads to line in file subscription-add.pl
var mana_enabled = ;
There is an error in code in subscription-add.tt file in uk-UA version
var mana_enabled = [% IF (Koha.Preference('Mana') == 1 && mana_url) %]1[% ELSE
%][% END %];
The ZERO is missing.
The code should be like this.
var mana_enabled = [% IF (Koha.Preference('Mana') == 1 && mana_url) %]1[% ELSE
%]0[% END %];
If I enter it everything works well as before.
However each time after update the ZERO disappears again.
How can this be fixed?
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list