[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 246/323: Javascript : improve exception manag
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 246/323: Javascript : improve exception management for fill_box |
Date: |
Wed, 14 Mar 2018 17:38:59 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 09af70e7965fd48465e780a97557aec0b11a9bfd
Author: Dany De Bontridder <address@hidden>
Date: Sat Feb 24 10:52:25 2018 +0100
Javascript : improve exception management for fill_box
---
html/js/scripts.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 5634fb5..56d914c 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1200,11 +1200,19 @@ function fill_box(req)
}
catch (e) {
alert_box(e.message);
+ if (console) {
+ console.error(e);
+ console.error("log answer = "+q.responseText);
+ }
}
try {
code_html.evalScripts();
}
catch (e) {
+ if (console) {
+ console.error(e);
+ console.error("log answer = "+q.responseText);
+ }
alert_box("Impossible executer script de la reponse\n" + e.message);
}
- [Noalyss-commit] [noalyss] 212/323: Bug : Periode cannot add a new exercice, (continued)
- [Noalyss-commit] [noalyss] 212/323: Bug : Periode cannot add a new exercice, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 228/323: Document_Modele CFGDOC warning if there is no template, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 161/323: Esthetic : improve, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 222/323: TextArea : fix move when focus, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 203/323: Esthetic : menu administration, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 247/323: Javascript : improve exception management for fill_box, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 219/323: Improve cal, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 237/323: Database : change SQL function, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 266/323: Upgrade : improve message, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 254/323: Tag : fix bug when adding a new tag, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 246/323: Javascript : improve exception management for fill_box,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 253/323: ANCPLAN : fix bug when removing operation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 285/323: CSS : esthetic div.box (dashboard) width : 98%, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 178/323: User::check_module improve doc, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 180/323: Symbol zoom, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 259/323: fix box search reconcile, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 231/323: Bug : IDate readonly does not contain the ID, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 306/323: Task #0001563: check date paiement VEN, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 300/323: Cosmetic, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 193/323: SQL : fix create extension for account_repository, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 248/323: Install improve message, Dany De Bontridder, 2018/03/14