noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 04/08: Task #1153 - Boite de dialogue modale


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/08: Task #1153 - Boite de dialogue modale #1153 alert box from ajax
Date: Fri, 28 Aug 2015 07:47:04 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 58a554ad09305b074d1f7ce12c2a91039fab6945
Author: Dany De Bontridder <address@hidden>
Date:   Thu Aug 27 11:20:43 2015 +0200

    Task #1153 - Boite de dialogue modale
    #1153 alert box from ajax
---
 html/ajax_card.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/html/ajax_card.php b/html/ajax_card.php
index 7c09553..2bd0f8e 100644
--- a/html/ajax_card.php
+++ b/html/ajax_card.php
@@ -527,14 +527,14 @@ case 'scc':
             if ( isset ($_POST['create'])) $array['create']=1;
             $catcard=new Fiche_Def($cn);
             if ( $catcard->Add($array) == -1)
-                $script="alert('"._('Catégorie existe déjà')."')";
+                $script="alert_box('"._('Catégorie existe déjà')."')";
             else
-                $script="alert('"._('Catégorie sauvée')."')";
+                $script="alert_box('"._('Catégorie sauvée')."')";
             $html.=create_script($script);
         }
         else
         {
-            $script="alert('"._("Le nom et la classe base ne peuvent être 
vide")."')";
+            $script="alert_box('"._("Le nom et la classe base ne peuvent être 
vide")."')";
             $html.=create_script($script);
 
             $invalid=1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]