noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] branch devel updated: Improve #0002130: espac


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] branch devel updated: Improve #0002130: espace dans les champs numériques
Date: Sun, 06 Feb 2022 07:01:27 -0500

This is an automated email from the git hooks/post-receive script.

sparkyx pushed a commit to branch devel
in repository noalyss.

The following commit(s) were added to refs/heads/devel by this push:
     new 66453f6a Improve #0002130: espace dans les champs numériques
     new 03469c64 Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss 
into devel
66453f6a is described below

commit 66453f6ac469f8e2d610d52a66447e436d83137a
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Feb 5 18:21:22 2022 +0100

    Improve #0002130: espace dans les champs numériques
---
 html/js/noalyss_script.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js
index e6477cda..7d9d6a4e 100644
--- a/html/js/noalyss_script.js
+++ b/html/js/noalyss_script.js
@@ -320,7 +320,9 @@ function format_number(obj, p_prec)
         precision = p_prec;
     }
     var value = obj.value;
+    value = value.replace(/ /g, '');
     value = value.replace(/,/g, '.');
+
     
     value=compute_number(value);    
     



reply via email to

[Prev in Thread] Current Thread [Next in Thread]