fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10382] property: fix lookup on location


From: Sigurd Nes
Subject: [Fmsystem-commits] [10382] property: fix lookup on location
Date: Tue, 30 Oct 2012 10:11:52 +0000

Revision: 10382
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10382
Author:   sigurdne
Date:     2012-10-30 10:11:52 +0000 (Tue, 30 Oct 2012)
Log Message:
-----------
property: fix lookup on location

Modified Paths:
--------------
    trunk/property/inc/class.uilocation.inc.php

Modified: trunk/property/inc/class.uilocation.inc.php
===================================================================
--- trunk/property/inc/class.uilocation.inc.php 2012-10-30 09:53:21 UTC (rev 
10381)
+++ trunk/property/inc/class.uilocation.inc.php 2012-10-30 10:11:52 UTC (rev 
10382)
@@ -887,25 +887,16 @@
                                {
                                        for ($k=0;$k<count($input_name);$k++)
                                        {
-                                               $function_exchange_values .= 
"opener.document.forms[0]." . $input_name[$k] . ".value = '';" ."\r\n";
+                                               $function_exchange_values .= 
'opener.document.getElementsByName("'.$input_name[$k].'")[0].value = "";' 
."\r\n";
                                        }
                                }
 
-       /*                      for ($i=0;$i<count($uicols['name']);$i++)
-                               {
-                                       if(isset($uicols['exchange'][$i]) && 
$uicols['exchange'][$i])
-                                       {
-                                               $function_exchange_values .= 
'opener.document.getElementsByName("'.$uicols['name'][$i].'")[0].value = "";' 
."\r\n";
-                                       }
-                               }
-        */
                                for ($i=0;$i<count($uicols['name']);$i++)
                                {
                                        if(isset($uicols['exchange'][$i]) && 
$uicols['exchange'][$i])
                                        {
                                                $function_exchange_values .= 
'opener.document.getElementsByName("'.$uicols['name'][$i].'")[0].value = "";' 
."\r\n";
                                                $function_exchange_values .= 
'opener.document.getElementsByName("'.$uicols['name'][$i].'")[0].value = 
valida(data.getData("'.$uicols['name'][$i].'"));' ."\r\n";
-                                               //$function_exchange_values .= 
'opener.document.forms[0].' . $uicols['name'][$i] .'.value = 
valida(data.getData("'.$uicols['name'][$i].'"));' ."\r\n";
                                        }
                                }
 




reply via email to

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