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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/