[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 24/24: Bug: Fails when p_callback_true is fal
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 24/24: Bug: Fails when p_callback_true is false |
Date: |
Tue, 12 Jul 2022 07:05:35 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit cbc0d3fb76458c655cb830b21071dc11150cafa2
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Jun 25 14:44:07 2022 +0200
Bug: Fails when p_callback_true is false
---
html/js/noalyss_script.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js
index 1e63c923a..358db98c6 100644
--- a/html/js/noalyss_script.js
+++ b/html/js/noalyss_script.js
@@ -3109,7 +3109,7 @@ function init_scroll()
function confirm_box(p_obj, p_message, p_callback_true,p_waiting)
{
waiting_box();
- try {
+ try {
// Find id of the end
var name = "";
if (p_obj != null)
@@ -3122,8 +3122,9 @@ function confirm_box(p_obj, p_message,
p_callback_true,p_waiting)
}
// execute the callback function or submit the form
- if (p_callback_true == undefined || p_callback_true == null)
+ if ( ! p_callback_true )
{
+
smoke.confirm(p_message, function (e) {
if (e) {
if (p_waiting){waiting_box();}
- [Noalyss-commit] [noalyss] 17/24: Additional Tax : automatic compute, (continued)
- [Noalyss-commit] [noalyss] 17/24: Additional Tax : automatic compute, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 23/24: Bug : supplemental tax cannot be deleted, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 19/24: Cosmetic : waiting box if confirmed, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 04/24: Remove unauthorized profile, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 07/24: cosmetic, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 12/24: Additional Tax : input in purchase and sale ledger - tax with positive amount - tax with negative amount - tax currency - Reverse operation - Correct in operation detail the amount of linked operation, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 18/24: Additional tax : remains when correct operation Cosmetic, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 20/24: Cosmetic : restore administration, we set the max filesize, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 22/24: Doc, correct bug introduced by auto-correct, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 15/24: Additional Tax : security, Dany De Bontridder, 2022/07/12
- [Noalyss-commit] [noalyss] 24/24: Bug: Fails when p_callback_true is false,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 21/24: Correct Cosmetic : waiting_box, Dany De Bontridder, 2022/07/12