mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 20:08:34 +01:00
workaround for value 0 always selects first option in et2_widget_selectbox
This commit is contained in:
parent
3f035eaf42
commit
996f9cd2b7
@ -1941,7 +1941,7 @@ window.egw_LAB.wait(function() {
|
|||||||
}
|
}
|
||||||
for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i;
|
for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i;
|
||||||
$sel_options['tz'] = $tz;
|
$sel_options['tz'] = $tz;
|
||||||
$content['tz'] = $content['tz'] ? $content['tz'] : 0;
|
$content['tz'] = $content['tz'] ? $content['tz'] : '0';
|
||||||
if (count($this->content_types) > 1)
|
if (count($this->content_types) > 1)
|
||||||
{
|
{
|
||||||
foreach($this->content_types as $type => $data)
|
foreach($this->content_types as $type => $data)
|
||||||
|
Loading…
Reference in New Issue
Block a user