[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/18: Accounting : error message if accounti
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/18: Accounting : error message if accounting is too large |
Date: |
Sun, 22 Apr 2018 09:30:29 -0400 (EDT) |
sparkyx pushed a commit to annotated tag rel6919-syn-180310
in repository noalyss.
commit 13bac8e1fee20c04557650fbfa8435b960d55a2e
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 ddd44cb..91b952d 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -706,9 +706,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-syn-180310 created (now 23c7fc5), Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 04/18: fix bug with filter_card : encodeURI not needed, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 02/18: Fix problem with invalid unicode sequence, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 07/18: Accounting : error message if accounting is too large, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 06/18: Accounting : error message if accounting is too large,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 01/18: NEW : ICard , you can hide or show the accounting in the search box with the functions ICard->hide_accounting and ICard->show_accounting, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 08/18: set version 6919.7, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 03/18: Protect queryString with encodeURI, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 09/18: Task #0001507: Click sur détail opérations apparaît trop haut Use the function window.pageYOffset instead of window.scrollY, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 16/18: sorttable.js : alternate properly the color of the table rows, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 11/18: Calc : set 4 decimals, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 13/18: Merge from rel6919.7 Merge branch 'dev-6919.2' of ns3:/srv/git/noalyss into dev-6919.2, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 17/18: sorttable.js : Add an icon if the column is already sorted, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 05/18: Set version 6919.6, Dany De Bontridder, 2018/04/22
- [Noalyss-commit] [noalyss] 12/18: Upgrade the branch with the stable release 6919.7 Merge tag 'rel6919.7' into dev-6919.2, Dany De Bontridder, 2018/04/22