noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 03/11: bug in lettering


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/11: bug in lettering
Date: Wed, 03 Dec 2014 22:39:29 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit e6dc5236ef73f16fcdd6675358fb5192c341797b
Author: Dany De Bontridder <address@hidden>
Date:   Tue Dec 2 18:29:01 2014 +0100

    bug in lettering
---
 include/template/letter_all.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/template/letter_all.php b/include/template/letter_all.php
index 54b94fe..10fe63c 100644
--- a/include/template/letter_all.php
+++ b/include/template/letter_all.php
@@ -57,7 +57,7 @@ $js="this.gDossier=".dossier::id().
   ";dsp_letter(this)";
 
 ?>
-<A class="detail" style="text-decoration: underline" href="javascript:<?php 
echo $js?>"><?php echo $letter?>
+<A class="detail" style="text-decoration: underline" href="javascript:void(0)" 
onclick="<?php echo $js?>"><?php echo $letter?>
 <?php if ( $this->content[$i]['letter_diff'] != 0) echo $g_failed;     ?>
        </A>
 </td>
@@ -65,7 +65,7 @@ $js="this.gDossier=".dossier::id().
 <td> <?php echo $this->content[$i]['jr_pj_number']?> </td>
 
 <?php
-$r=sprintf('<A class="detail" style="text-decoration:underline" 
HREF="javascript:viewOperation(\'%s\',\'%s\')" >%s</A>',
+$r=sprintf('<A class="detail" style="text-decoration:underline"  
href="javascript:void(0)" onclick="viewOperation(\'%s\',\'%s\')" >%s</A>',
             $this->content[$i]['jr_id'], $gDossier, 
$this->content[$i]['jr_internal']);
 ?>
   <td> <?php echo $r?> </td>
@@ -90,7 +90,7 @@ $r=sprintf('<A class="detail" 
style="text-decoration:underline" HREF="javascript
        $operation->jr_id=$element;
        $l_amount=$this->db->get_value("select jr_montant from jrn ".
                                         " where jr_id=$element");
-       echo "<A class=\"detail\" 
HREF=\"javascript:viewOperation('".$element."',".$gDossier.")\" > 
".$operation->get_internal()." [ ".nb($l_amount)." &euro; ]</A>";
+       echo "<A class=\"detail\"  href=\"javascript:void(0)\" 
onclick=\"viewOperation('".$element."',".$gDossier.")\" > 
".$operation->get_internal()." [ ".nb($l_amount)." &euro; ]</A>";
       }//for
     }// if ( $a != null ) {
 // compute amount



reply via email to

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