fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6637] property: fix js definition


From: Sigurd Nes
Subject: [Fmsystem-commits] [6637] property: fix js definition
Date: Fri, 03 Dec 2010 09:52:39 +0000

Revision: 6637
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6637
Author:   sigurdne
Date:     2010-12-03 09:52:39 +0000 (Fri, 03 Dec 2010)
Log Message:
-----------
property: fix js definition

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

Modified: trunk/property/inc/class.uigeneric.inc.php
===================================================================
--- trunk/property/inc/class.uigeneric.inc.php  2010-12-03 09:24:18 UTC (rev 
6636)
+++ trunk/property/inc/class.uigeneric.inc.php  2010-12-03 09:52:39 UTC (rev 
6637)
@@ -315,9 +315,11 @@
                                {
                                        $code = 'var ' . implode(',', 
$button_def)  . ";\n";
                                        $code .= 'var selectsButtons = [' . 
"\n" . implode(",\n",$code_inner) . "\n];";
-                                       $GLOBALS['phpgw']->js->add_code('', 
$code);
                                }
 
+                               $code = 'var selectsButtons = [];';
+                               $GLOBALS['phpgw']->js->add_code('', $code);
+
                                if($values_combo_box)
                                {
                                        $i = 0;




reply via email to

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