noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 14/14: Cosmetic : don't go if nothing is aske


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 14/14: Cosmetic : don't go if nothing is asked
Date: Mon, 22 Aug 2022 12:21:55 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 1cb2e43b3646e392542157776c782e51e3733d0f
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Aug 21 16:07:22 2022 +0200

    Cosmetic : don't go if nothing is asked
---
 include/template/module.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/template/module.php b/include/template/module.php
index 9541931f2..1f4698e1f 100644
--- a/include/template/module.php
+++ b/include/template/module.php
@@ -58,7 +58,7 @@ if ( $cn->get_value("select count(*) from profile join 
profile_user using (p_id)
                where user_name=$1 and 
with_direct_form=true",array($_SESSION[SESSION_KEY.'g_user'])) ==1):
 ?>
        <div id="direct">
-       <form method="get">
+       <form method="get" onsubmit="if 
(document.getElementById('ac').value.trim() =='') {return false;} else {return 
true;}">
                <?php echo $http->request('ac',"string", '')?>
                <?php echo Dossier::hidden()?>
                <?php 



reply via email to

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