| Summary: | Updating translation bricks creating subscriptions | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Bohdan <b.pastern4k> |
| Component: | I18N/L10N | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | f.demians |
| Version: | 19.05 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
*** This bug has been marked as a duplicate of bug 3 *** |
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?