fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12362]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12362]
Date: Fri, 21 Nov 2014 22:10:33 +0000

Revision: 12362
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12362
Author:   nelson224
Date:     2014-11-21 22:10:32 +0000 (Fri, 21 Nov 2014)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uilookup.inc.php

Modified: branches/dev-syncromind/property/inc/class.uilookup.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uilookup.inc.php 2014-11-21 
22:08:14 UTC (rev 12361)
+++ branches/dev-syncromind/property/inc/class.uilookup.inc.php 2014-11-21 
22:10:32 UTC (rev 12362)
@@ -3494,9 +3494,20 @@
                        self::add_javascript('phpgwapi', 'jquery', 
'editable/jquery.jeditable.js');
                        self::add_javascript('phpgwapi', 'jquery', 
'editable/jquery.dataTables.editable.js');
                        
+                       $custom_id              = $column;
+                       $custom_name    = "label_{$column}";
+
+                       $action = '';
+                       $action .= 
'window.parent.document.getElementById("'.$custom_id.'").value = "";'."\r";
+                       $action .= 
'window.parent.document.getElementById("'.$custom_name.'").innerHTML = 
"";'."\r";
+                       $action .= 
'window.parent.document.getElementById("'.$custom_id.'").value = 
aData["id"];'."\r";
+                       $action .= 
'window.parent.document.getElementById("'.$custom_name.'").innerHTML = 
aData["name"];'."\r";
+                       $action .= 
'window.parent.JqueryPortico.onPopupClose("close");'."\r";
+                       $action .= 'window.parent.filterData("'.$custom_id.'", 
aData["id"]);';
+                       
                        $data = array(
-                               'left_click_action'     => 'parent.buscar',
-                               'datatable_name'        => $appname,
+                               'left_click_action'     => $action,
+                               'datatable_name'        => '',
                                'form' => array(
                                        'toolbar' => array(
                                                'item' => array()




reply via email to

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