[Koha-bugs] [Bug 11227] New: Staff po files contain lots of Javascript
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Nov 9 20:54:41 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11227
Bug ID: 11227
Summary: Staff po files contain lots of Javascript
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: I18N/L10N
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
CC: frederic at tamil.fr
The new staff po files contain a lot of Javascript strings:
Example: authorities_js.inc
"function mergeAuth(authid, summary) { var alreadySelected =
$.cookie('auth_to_merge'); if (alreadySelected !== null) { alreadySelected =
JSON.parse(alreadySelected); $.cookie('auth_to_merge', '', { 'path': '/',
'expires': -1 }); var refstring = \"\"; if (typeof
alreadySelected.mergereference !== 'undefined') { refstring =
\"&mergereference=\" + alreadySelected.mergereference; } window.location.href =
\"/cgi-bin/koha/authorities/merge.pl?authid=\" + authid + \"&authid=\" +
alreadySelected.authid + refstring; } else { $.cookie('auth_to_merge',
JSON.stringify({ 'authid': authid, 'summary': summary }), { 'path' : '/' });
showMergingInProgress(); } } function showMergingInProgress() { var
alreadySelected = $.cookie('auth_to_merge'); if (alreadySelected !== null) {
alreadySelected = JSON.parse(alreadySelected);
$('#merge_in_progress').html(_(\"Merging with authority: \") + \""
--
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