[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 25/107: correct js for error
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 25/107: correct js for error |
Date: |
Mon, 26 Aug 2019 10:31:49 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 1de50cb5e501e2307cfeab7cb8364a6940c58671
Author: Dany De Bontridder <address@hidden>
Date: Sun Apr 14 18:23:46 2019 +0200
correct js for error
---
html/js/scripts.js | 4 ++--
html/js/smoke.js | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 37b4e95..ec64b84 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1204,7 +1204,7 @@ function fill_box(req)
alert_box(e.message);
if (console) {
console.error(e);
- console.error("log answer = "+e.responseText);
+ console.error("log answer = "+req.responseText);
}
}
try {
@@ -1213,7 +1213,7 @@ function fill_box(req)
catch (e) {
if (console) {
console.error(e);
- console.error("log answer = "+e.responseText);
+ console.error("log answer = "+req.responseText);
}
alert_box("Impossible executer script de la reponse\n" + e.message);
}
diff --git a/html/js/smoke.js b/html/js/smoke.js
index bfde050..b9a05a8 100644
--- a/html/js/smoke.js
+++ b/html/js/smoke.js
@@ -192,7 +192,7 @@
"click",
function () {
smoke.destroy(f.type, f.newid);
- if (typeof f.callback !== 'undefined') {
+ if (typeof f.callback !== 'undefined' && f.callback) {
f.callback();
}
}
- [Noalyss-commit] [noalyss] 35/107: indent code, (continued)
- [Noalyss-commit] [noalyss] 35/107: indent code, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 37/107: Card : allow to specify the max displaid rows, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 34/107: Clean code , remove useless comment, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 60/107: New message : failed, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 01/107: replace tempname with sys_get_temp_dir, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 03/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 05/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 19/107: Bug with javascript document.viewport cannot be used directly, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 20/107: Bug with javascript global variable width is undefined, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 31/107: translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 25/107: correct js for error,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 29/107: Bug in exception : gettext cannot accept 2 args, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 33/107: Small bug use the date instead of now for table version, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 40/107: PHPUnit : adapt to new version, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 61/107: Documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 62/107: #1316: Notes tableau de bord - pas de limite ou choix., Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 69/107: Fix test, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 50/107: Documentation : automatic format breaks doxygen tag, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 43/107: fixup! Code cleaning : split database into database (for noalyss) and databasecore , with the functions, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 65/107: Code cleaning : remove obsolete, and direct access to, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 74/107: New : manage_table_sql has new function (input_custom and display_row_custom) for handling special data, Dany De Bontridder, 2019/08/26