[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/06: Accounting : error message if accounti
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/06: Accounting : error message if accounting is too large |
Date: |
Wed, 20 Dec 2017 04:42:47 -0500 (EST) |
sparkyx pushed a commit to annotated tag rel6919.7
in repository noalyss.
commit 163d9ce0585aa199bf7d7347920e0d4835d4eb30
Author: Dany De Bontridder <address@hidden>
Date: Thu Dec 14 21:28:45 2017 +0100
Accounting : error message if accounting is too large
---
html/js/card.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/html/js/card.js b/html/js/card.js
index 8b4fa93..552f9c6 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -692,9 +692,13 @@ function form_blank_card(obj)
*/
function save_card(obj)
{
- var content=$(obj).ipopup;
+ var accounting= $(obj)['av_text25'];
+ if ( accounting.value.length > 40 ) {
+ smoke.alert('Poste comptable trop grand');
+ return false;
+ }
// Data must be taken here
- data=$('save_card').serialize(false);
+ var data=$('save_card').serialize(false); var content=$(obj).ipopup;
$(content).innerHTML=loading();
var dossier=$('gDossier').value;
- [Noalyss-commit] [noalyss] annotated tag rel6919.7 created (now 9e96201), Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 02/06: Accounting : error message if accounting is too large, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 01/06: Accounting : error message if accounting is too large,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/06: set version 6919.7, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 06/06: Calc : set 4 decimals, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 05/06: Improve calc, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 04/06: 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/20