noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 05/12: ergonomy : add waiting box


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 05/12: ergonomy : add waiting box
Date: Sun, 8 Nov 2020 15:52:14 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit d63d68d9794f686367f02fbd5f776fdcfc685aea
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Nov 7 14:22:30 2020 +0100

    ergonomy : add waiting box
---
 include/impress_jrn.inc.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/impress_jrn.inc.php b/include/impress_jrn.inc.php
index aaaadd1..b3c9e7f 100644
--- a/include/impress_jrn.inc.php
+++ b/include/impress_jrn.inc.php
@@ -98,12 +98,12 @@ echo '<div class="content">';
 /*
  * Let you change the exercice
  */
-echo '<form method="GET">';
+echo '<form method="GET" onsubmit="waiting_box();return true;">';
 echo '<fieldset><legend>' . _('Exercice') . '</legend>';
 ;
 echo _('Choisissez un autre exercice').' :';
 $ex = new Exercice($cn);
-$wex = $ex->select('exercice', $exercice, ' onchange="submit(this)"');
+$wex = $ex->select('exercice', $exercice, ' 
onchange="waiting_box();submit(this)"');
 echo $wex->input();
 echo dossier::hidden();
 echo HtmlInput::get_to_hidden(array('ac', 'type'));
@@ -112,7 +112,7 @@ echo '</form>';
 ?>
 <?php
 
-echo '<FORM METHOD="GET">' . dossier::hidden();
+echo '<FORM METHOD="GET"  onsubmit="waiting_box();return true;">' . 
dossier::hidden();
 echo HtmlInput::get_to_hidden(array('ac', 'type'));
 echo HtmlInput::hidden('type', 'jrn');
 echo HtmlInput::get_to_hidden(array('exercice'));



reply via email to

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