noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/10: remove href when using an anchor for j


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/10: remove href when using an anchor for javascript
Date: Thu, 27 Nov 2014 22:55:04 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit da327dace77d7c0949aa84aa0dcbe52d63617ed8
Author: Dany De Bontridder <address@hidden>
Date:   Thu Nov 27 12:00:04 2014 +0100

    remove href when using an anchor for javascript
---
 include/template/ledger_detail_top.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/template/ledger_detail_top.php 
b/include/template/ledger_detail_top.php
index 376694d..66e56b0 100644
--- a/include/template/ledger_detail_top.php
+++ b/include/template/ledger_detail_top.php
@@ -6,9 +6,9 @@
    if ($div != "popup") {
      $callback=$_SERVER['PHP_SELF'];
      $str=$_SERVER['QUERY_STRING']."&act=$action&ajax=$callback";
-     echo '<A id="close_div" HREF="javascript:void(0)" onclick="var 
a=window.open(\'popup.php?'.$str.'\',\'\',\'location=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no\');
 a.focus();removeDiv(\''.$div.'\')">
+     echo '<A id="close_div" onclick="var 
a=window.open(\'popup.php?'.$str.'\',\'\',\'location=no,toolbar=no,fullscreen=yes,scrollbars=yes,resizable=yes,status=no\');
 a.focus();removeDiv(\''.$div.'\')">
 !pop me out ! </A>';
-     echo '<A id="close_div" HREF="javascript:void(0)" 
onclick="removeDiv(\''.$div.'\');">'._("Fermer").'</A>';
+     echo '<A id="close_div" 
onclick="removeDiv(\''.$div.'\');">'._("Fermer").'</A>';
    }
 ?>
 </div>



reply via email to

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