noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 26/33: Cosmetic Add close button


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 26/33: Cosmetic Add close button
Date: Thu, 11 Nov 2021 06:02:50 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 2579c0c1953588e3e5f8f7f19d6c2feb907a770f
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Oct 27 00:03:17 2021 +0200

    Cosmetic Add close button
---
 include/ajax/ajax_history.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/ajax/ajax_history.php b/include/ajax/ajax_history.php
index b85a9c4..3ac1fbf 100644
--- a/include/ajax/ajax_history.php
+++ b/include/ajax/ajax_history.php
@@ -112,7 +112,8 @@ if ( isset($_GET['f_id']))
  
        if (   $result ==-1){
          echo h2(_("Aucune opération pour l'exercice 
courant"),'class="error"');
-       } else {
+          echo HtmlInput::button_close($div);
+          } else {
             echo $fiche->filter_history("tb".$div);
             echo $table;
             echo HtmlInput::button_close($div);
@@ -200,6 +201,7 @@ if ( isset($_REQUEST['pcm_val']))
         if ( $result == -1)
          {
            echo h2(_("Aucune opération pour l'exercice 
courant"),'class="error"');
+            echo HtmlInput::button_close($div);
          } else {
                 echo $poste->filter_history('tb'.$div);
                 echo $table;



reply via email to

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