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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/