forked from extern/egroupware
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;
|
||||
$sel_options['tz'] = $tz;
|
||||
$content['tz'] = $content['tz'] ? $content['tz'] : 0;
|
||||
$content['tz'] = $content['tz'] ? $content['tz'] : '0';
|
||||
if (count($this->content_types) > 1)
|
||||
{
|
||||
foreach($this->content_types as $type => $data)
|
||||
|
Loading…
Reference in New Issue
Block a user