[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 13/15: Bug = if double click on a card return
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 13/15: Bug = if double click on a card returns nothing |
Date: |
Fri, 5 Feb 2021 11:38:32 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 06d51c0abbabbc85f85d34dbf0c624cb3b325635
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Feb 4 15:51:51 2021 +0100
Bug = if double click on a card returns nothing
---
include/ajax/ajax_card.php | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php
index 9db37ba..809ac72 100644
--- a/include/ajax/ajax_card.php
+++ b/include/ajax/ajax_card.php
@@ -113,7 +113,12 @@ case 'dc':
$qcode=$http->request("qcode","string",false);
// if there is no qcode then try to find it thanks the card id
if ( $qcode == false ){
- $f->id=$http->get("f_id","number");
+ $f->id=$http->get("f_id","number","0");
+ if ( $f->id==0) {
+ $html=HtmlInput::title_box(_("Fiche"), $ctl,"close","","y");
+ $html.='<h2 class="error">'._('Aucune fiche demandée').'</h2>';
+ break;
+ }
$qcode=$f->get_quick_code();
} else {
$f->get_by_qcode($qcode);
- [Noalyss-commit] [noalyss] 05/15: New 0001893: Date remplacement auto des séparateurs, (continued)
- [Noalyss-commit] [noalyss] 05/15: New 0001893: Date remplacement auto des séparateurs, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 09/15: Set Version 8.1 + logo + bug SQL script 151, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 12/15: Compatibility PHP7.0, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 04/15: New : 0001890: Avertissement si la document à télécharger est trop gros, on ne peut soumettre le fichier, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 07/15: ICard Improve doc and test, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 08/15: New : Task #1894: Gestion : ajout un champs paramétrable pour videoconf, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 11/15: Fix : Menu problem when 2 duplicate menus, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 14/15: cosmetic : position inner_box on larger screen, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 10/15: Place of recover_link, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 15/15: We split Database in DatabaseCore and Database, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 13/15: Bug = if double click on a card returns nothing,
Dany De Bontridder <=