fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12559]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12559]
Date: Wed, 07 Jan 2015 23:22:01 +0000

Revision: 12559
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12559
Author:   nelson224
Date:     2015-01-07 23:22:00 +0000 (Wed, 07 Jan 2015)
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 2015-01-07 
23:21:42 UTC (rev 12558)
+++ branches/dev-syncromind/property/inc/class.uilookup.inc.php 2015-01-07 
23:22:00 UTC (rev 12559)
@@ -2011,7 +2011,6 @@
                        }
                        else
                        {
-
                                $uicols['name'][]       = 'num';
                                $uicols['descr'][]      = 'ID';
                                $uicols['input_type'][]         = 'text';
@@ -2199,7 +2198,7 @@
                        $GLOBALS['phpgw']->js->validate_file( 'yahoo', 
'lookup.entity.index', 'property' );
 
                        $this->save_sessiondata();
-               }
+               }       
 
                function phpgw_user()
                {
@@ -2262,10 +2261,10 @@
                        }
 
                        $action = '';
-                       $action .= 
'window.parent.document.getElementById("'.$user_id.'").value = "";'."\r";
-                       $action .= 
'window.parent.document.getElementById("'.$user_name.'").value = "";'."\r";
-                       $action .= 
'window.parent.document.getElementById("'.$user_id.'").value = 
aData["id"];'."\r";
-                       $action .= 
'window.parent.document.getElementById("'.$user_name.'").value = 
aData["first_name"] + " " + aData["last_name"];'."\r";
+                       $action .= 
'parent.document.getElementsByName("'.$user_id.'")[0].value = "";'."\r";
+                       $action .= 
'parent.document.getElementsByName("'.$user_name.'")[0].value = "";'."\r";
+                       $action .= 
'parent.document.getElementsByName("'.$user_id.'")[0].value = 
aData["id"];'."\r";
+                       $action .= 
'parent.document.getElementsByName("'.$user_name.'")[0].value = 
aData["first_name"] + " " + aData["last_name"];'."\r";
                        $action .= 
'window.parent.JqueryPortico.onPopupClose("close");'."\r";
                        
                        $data = array(




reply via email to

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