noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 17/86: C0MENU : bug javascript Uniquement not


From: dwm
Subject: [Noalyss-commit] [noalyss] 17/86: C0MENU : bug javascript Uniquement note de débit ou crédit ne fonctionne pas
Date: Thu, 19 Sep 2024 02:41:49 -0400 (EDT)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit e3b7dc650601b055e866ba4c06421fb66632e6be
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue Sep 3 12:47:57 2024 +0200

    C0MENU : bug javascript Uniquement note de débit ou crédit ne fonctionne pas
---
 html/js/noalyss_script.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js
index b803337a1..e4d4e7070 100644
--- a/html/js/noalyss_script.js
+++ b/html/js/noalyss_script.js
@@ -3879,7 +3879,8 @@ function toggle_checkbox_onoff(icon_domid, p_value_domid) 
{
  * @returns {undefined}
  */
 function toggle_row_warning_enable(p_enable, p_row) {
-    if ($(p_enable).value == 1) {
+    var warning = document.getElementsByName('negative_amount')[0].value
+    if ( warning == 1) {
         $(p_row).show();
     } else {
         $(p_row).hide();



reply via email to

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