noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 31/65: Fix issue : cannot zoom an operation a


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 31/65: Fix issue : cannot zoom an operation after saving it.
Date: Wed, 09 Sep 2015 08:27:18 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 1bc15c86f8e50430198883637814e75a89c113c1
Author: Dany De Bontridder <address@hidden>
Date:   Thu Sep 3 01:53:05 2015 +0200

    Fix issue : cannot zoom an operation after saving it.
---
 include/template/ledger_detail_top.php |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/include/template/ledger_detail_top.php 
b/include/template/ledger_detail_top.php
index 3b07b4d..7f6ca24 100644
--- a/include/template/ledger_detail_top.php
+++ b/include/template/ledger_detail_top.php
@@ -5,7 +5,13 @@
 <?php 
    if ($div != "popup") {
      $callback=$_SERVER['PHP_SELF'];
-     $str=$_SERVER['QUERY_STRING']."&act=$action&ajax=$callback";
+     // create the url for the ajax (for zoom feature)
+     $str=http_build_query(array(
+            'gDossier'=>Dossier::id(),
+             'jr_id'=>$obj->det->jr_id,
+             'act'=>'de',
+             'div'=>$div,
+            'ajax'=>$callback));
      $msg_close=_('Fermer');
      $msg_pop=_('Ouvrir dans une fenêtre séparée');
      



reply via email to

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