[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 15/23: fixup! Translate , make failed chrome
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 15/23: fixup! Translate , make failed chrome because of HTML in javascript message |
Date: |
Tue, 24 Nov 2020 14:22:43 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 525d04949bdc7b01765893a8e183f87298c85efe
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Nov 13 12:06:33 2020 +0100
fixup! Translate , make failed chrome because of HTML in javascript message
---
html/js/scripts.js | 2 +-
include/lib/message_javascript.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 12aa9bb..d068eaf 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -2664,7 +2664,7 @@ function action_tag_remove(p_dossier, ag_id, t_id)
{
method: 'get', parameters: queryString,
onFailure: ajax_misc_failure,
- onSuccess: function (req, j) {
+ onSuccess: function (req) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length === 0)
diff --git a/include/lib/message_javascript.php
b/include/lib/message_javascript.php
index 44d9e0b..6eea946 100644
--- a/include/lib/message_javascript.php
+++ b/include/lib/message_javascript.php
@@ -62,7 +62,7 @@ content[29]="<?php echo escape_xml(_("Si vous ne donnez pas
de nom, ce sera le n
content[30]="<?php echo escape_xml(_("Peut contenir une information telle que
le message structuré sur le virement"))?>";
content[31]="<?php echo escape_xml(_("Peut contenir un numéro de bon de
commande"))?>";
-content[32]=_('Le résultat peut changer en fonction du type de journal');
+content[32]="<?php echo _('Le résultat peut changer en fonction du type de
journal');?>";
content[33]="<?php echo escape_xml(_("le type vaut : ME pour Menu, PR pour les
impressions,PL pour les plugins,SP pour des valeurs spéciales"))?>";
content[34]="<?php echo escape_xml(_("Cliquez sur le code AD pour ouvrir le
menu dans un nouvel onglet"))?>";
- [Noalyss-commit] [noalyss] branch master updated (8bd9ba4 -> a723604), Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 02/23: translate en, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 03/23: rename upgrade18, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 01/23: Security administration : add a confirmation with generate random string and record it in audit, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 04/23: Security, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 05/23: Version 8.0, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 08/23: Security remove direct access to $_REQUEST, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 06/23: Follow-up : list , the name is a tip, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 15/23: fixup! Translate , make failed chrome because of HTML in javascript message,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 17/23: Typo, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 20/23: Fix: template doesn't delete LOB files, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 09/23: IText require , used for admin and password, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 07/23: ANCGL : export CSV add the date of payment, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 16/23: IText : protect against Quote and Double Quote, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 18/23: Merge branch 'dev8000', Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 13/23: Translate , make failed chrome because of HTML in javascript message, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 21/23: CfgPlugin : improve trace, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 19/23: Bug Securimage : fix if session is expired then $code is undefined, Dany De Bontridder, 2020/11/24
- [Noalyss-commit] [noalyss] 22/23: Merge branch 'dev8001', Dany De Bontridder, 2020/11/24