noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 123/219: Anc ODS : check date is valid and co


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 123/219: Anc ODS : check date is valid and comment not empty, remove debug
Date: Mon, 18 Dec 2017 13:22:48 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit fd623d9ce40dfd78d5001247c2f53f6d0346bd33
Author: Dany De Bontridder <address@hidden>
Date:   Wed Nov 1 12:03:08 2017 +0100

    Anc ODS : check date is valid and comment not empty, remove debug
---
 include/anc_od.inc.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/anc_od.inc.php b/include/anc_od.inc.php
index dca8c96..2265ae0 100644
--- a/include/anc_od.inc.php
+++ b/include/anc_od.inc.php
@@ -158,7 +158,6 @@ if ( isset($_GET['new']))
 echo <<<EOF
 <script> 
     function validate_anc(p_frm_id) {
-    console.debug($(p_frm_id)['pdate'].value );
     try {
         if ($('pdesc').value.length==0) {
             smoke.alert('$msg_comment');
@@ -171,7 +170,7 @@ echo <<<EOF
         } catch (e) {
             smoke.alert(e.message);
         }
-        return true;
+        return ;
     }
     
 </script>;    



reply via email to

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