[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6650] property: fix buttons at uigeneric
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [6650] property: fix buttons at uigeneric |
Date: |
Wed, 08 Dec 2010 08:20:26 +0000 |
Revision: 6650
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6650
Author: sigurdne
Date: 2010-12-08 08:20:26 +0000 (Wed, 08 Dec 2010)
Log Message:
-----------
property: fix buttons at uigeneric
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-07 08:30:55 UTC (rev
6649)
+++ trunk/property/inc/class.uigeneric.inc.php 2010-12-08 08:20:26 UTC (rev
6650)
@@ -310,14 +310,17 @@
$i++;
}
}
- $code = '';
+
if($button_def)
{
$code = 'var ' . implode(',',
$button_def) . ";\n";
$code .= 'var selectsButtons = [' .
"\n" . implode(",\n",$code_inner) . "\n];";
}
+ else
+ {
+ $code = 'var selectsButtons = [];';
+ }
- $code = 'var selectsButtons = [];';
$GLOBALS['phpgw']->js->add_code('', $code);
if($values_combo_box)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6650] property: fix buttons at uigeneric,
Sigurd Nes <=