[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/06: Accounting : error message if accounti
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/06: Accounting : error message if accounting is too large |
Date: |
Wed, 20 Dec 2017 04:42:48 -0500 (EST) |
sparkyx pushed a commit to annotated tag rel6919.7
in repository noalyss.
commit b6aaaeeb9319afa2af5623d8ff3670424fa771f4
Author: Dany De Bontridder <address@hidden>
Date: Thu Dec 14 21:34:20 2017 +0100
Accounting : error message if accounting is too large
---
html/js/card.js | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/html/js/card.js b/html/js/card.js
index 552f9c6..547bd20 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -692,10 +692,12 @@ function form_blank_card(obj)
*/
function save_card(obj)
{
- var accounting= $(obj)['av_text25'];
- if ( accounting.value.length > 40 ) {
- smoke.alert('Poste comptable trop grand');
- return false;
+ if ($(obj)['av_text5']) {
+ var accounting= $(obj)['av_text5'];
+ if ( accounting.value.length > 40 ) {
+ smoke.alert('Poste comptable trop grand');
+ return false;
+ }
}
// Data must be taken here
var data=$('save_card').serialize(false); var content=$(obj).ipopup;
- [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 <=
- [Noalyss-commit] [noalyss] 01/06: Accounting : error message if accounting is too large, Dany De Bontridder, 2017/12/20
- [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