[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 131/219: Bug : correct catch clause , getMess
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 131/219: Bug : correct catch clause , getMessage is wrong must be replaced by message |
Date: |
Mon, 18 Dec 2017 13:22:50 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e21b922d803ac81bf466abee71c92bb1dc402603
Author: Dany De Bontridder <address@hidden>
Date: Wed Nov 1 23:03:17 2017 +0100
Bug : correct catch clause , getMessage is wrong
must be replaced by message
---
html/js/acc_ledger.js | 8 ++++----
html/js/accounting_item.js | 4 ++--
html/js/card.js | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/html/js/acc_ledger.js b/html/js/acc_ledger.js
index 5473d78..768ebdf 100644
--- a/html/js/acc_ledger.js
+++ b/html/js/acc_ledger.js
@@ -56,7 +56,7 @@ function update_predef(p_type, p_direct, p_ac)
// document.getElementsByName(name_ctl)[0].value =
code_html;
$('modele_op_div').innerHTML = code_html;
} catch (e) {
- $('info_div').innerHTML = e.getMessage;
+ $('info_div').innerHTML = e.message;
}
}
}
@@ -201,13 +201,13 @@ function update_row(ctl)
}
}
} catch (e) {
- alert_box(e.getMessage);
+ alert_box(e.message);
}
}
}
);
} catch (e) {
- alert_box(e.getMessage);
+ alert_box(e.message);
}
}
/**
@@ -1214,4 +1214,4 @@ function document_remove(p_dossier,p_div,p_jrid)
})
}
});
-}
\ No newline at end of file
+}
diff --git a/html/js/accounting_item.js b/html/js/accounting_item.js
index 8ef2d2b..6bc290d 100644
--- a/html/js/accounting_item.js
+++ b/html/js/accounting_item.js
@@ -186,7 +186,7 @@ function search_poste(obj)
}
catch (e)
{
- alert_box(e.getMessage);
+ alert_box(e.message);
}
}
/**
@@ -376,4 +376,4 @@ function pcmn_save()
}
return false;
}
-
\ No newline at end of file
+
diff --git a/html/js/card.js b/html/js/card.js
index 98102b9..3e48d18 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -51,7 +51,7 @@ function boxsearch_card(p_dossier)
);
}catch( e)
{
- alert_box(e.getMessage);
+ alert_box(e.message);
}
}
/**
- [Noalyss-commit] [noalyss] 163/219: Code cleaning, (continued)
- [Noalyss-commit] [noalyss] 163/219: Code cleaning, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 213/219: Code rewrite : move the function HtmlInput::select_ledger into Acc_Ledger_Search::select_ledger, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 197/219: Task #001381 : enlève , ajout de la nouvelle liste dans la liste, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 183/219: Icon move / fix, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 211/219: Bug : in recherche the ledger choice is transparent, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 162/219: Constant add an exception code for duplicate, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 190/219: Database : get_value throw an error if SQL failed, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 30/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation 1. Correct export CSV 2. Improve code : new function Acc_Reconciliation:get_amount_noautovat, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 133/219: #0001414: LETTRAGE - montants différents non indiqués Les montants différents pour un lettrage sont marqués avec un triangle orange Changement des requêtes SQL , peut avoir un prob. de performance pour gros volume, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 70/219: Task #0001475: VEN / ACH opération prédéfinie , il manque le bouton "Fermer", Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 131/219: Bug : correct catch clause , getMessage is wrong must be replaced by message,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 203/219: Task #0001507: Click sur détail opérations apparaît trop haut Fixed for IE8 : use documentElement.scrollTop, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 191/219: Database : improve message when exec_sql failed, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 185/219: Fix problem with invalid unicode sequence, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 178/219: NEW : add iselect , display a list with options, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 200/219: Task #0001507: Click sur détail opérations apparaît trop haut Use the function window.pageYOffset instead of window.scrollY, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 123/219: Anc ODS : check date is valid and comment not empty, remove debug, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 52/219: task #0001372: Backup - nom du fichier Bug modele.inc.php, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 55/219: Task #1469 Code Cleaning: remove Anc_Account Use a CSS with 2 fonts , one for the title and clickable item, and a normal one. Correct Anc_Account_Table::check duplicate for update and insert, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 152/219: HttpInput: Exception if the type is not known,, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 05/219: remove warning, Dany De Bontridder, 2017/12/18