[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: Bug #999 - Bug javascript, utilisatio
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: Bug #999 - Bug javascript, utilisation de === au lieu de == Task #999 - Encodage opérations bancaires - pas de champ "date" par opération. |
Date: |
Wed, 04 Jun 2014 18:52:49 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e4ef9aa7695eed70012e4281e48ecd3b3827c076
Author: Dany De Bontridder <address@hidden>
Date: Wed Jun 4 20:27:37 2014 +0200
Bug #999 - Bug javascript, utilisation de === au lieu de ==
Task #999 - Encodage opérations bancaires - pas de champ "date" par
opération.
---
html/js/scripts.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 8d39010..cad9059 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1717,21 +1717,21 @@ function show_fin_chdate(obj_id)
try
{
var ch = $(obj_id).options[$(obj_id).selectedIndex].value;
- if (ch === 2) {
+ if (ch == 2) {
$('chdate_ext').hide();
$('thdate').show();
}
- if (ch === 1) {
+ if (ch == 1) {
$('chdate_ext').show();
$('thdate').hide();
}
var nb = $('nb_item').value;
for (i = 0; i < nb; i++) {
if ($('tdchdate' + i)) {
- if (ch === 2) {
+ if (ch == 2) {
$('tdchdate' + i).show();
}
- if (ch === 1) {
+ if (ch == 1) {
$('tdchdate' + i).hide();
}