[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 243/323: ajax_card : warning if there is no c
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 243/323: ajax_card : warning if there is no category of cards |
Date: |
Wed, 14 Mar 2018 17:38:58 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 5fadaec8d574bb226e142d5d98348f31e8de43e8
Author: Dany De Bontridder <address@hidden>
Date: Fri Feb 23 22:25:19 2018 +0100
ajax_card : warning if there is no category of cards
---
html/js/card.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/html/js/card.js b/html/js/card.js
index 3ec38dd..6f6b6e7 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -609,7 +609,9 @@ function select_card_type(obj)
// Get all the category,
var
answer=req.responseXML.getElementsByTagName("fiche_cat_item");
if (answer.length == 0) {
- alert_box(req.responseText);
+ removeDiv(content);
+ remove_waiting_box();
+
alert_box(getNodeText(req.responseXML.getElementsByTagName("code")[0]));
return;
}
if ( answer.length == 1) {
- [Noalyss-commit] [noalyss] 294/323: Bug : install plugin, (continued)
- [Noalyss-commit] [noalyss] 294/323: Bug : install plugin, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 250/323: Manage_Table_SQL : fix when not value is selected, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 258/323: indent, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 263/323: Gestion : block search on the current card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 245/323: Remove obsolete hardcoded sort, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 291/323: Fix position calc for other CSS Sheet, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 308/323: CSS Cosmetic : button with border, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 315/323: Correct bug : Dashboard , zoom action failed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 319/323: UpgradeCore improve, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 179/323: Documentation INum->prec, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 243/323: ajax_card : warning if there is no category of cards,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 265/323: CSS : table menu use the font SansationLight, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 281/323: FIN : hide disable ledger, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 262/323: fix code, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 288/323: Template : can be added from ADMINISTRATION -> MODELE, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 316/323: CSS cosmetic : align selected cell, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 323/323: ANCGL Test if at least one operation is selected, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 293/323: CSS classic: progressBar for, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 216/323: Task #1539 : upgrade , install plugin , download database template, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 192/323: SQL : upgrade, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 58/323: Task #0001529: Réécriture de code , placer les icones dans Icon_Action, Dany De Bontridder, 2018/03/14