workaround for value 0 always selects first option in et2_widget_selectbox

This commit is contained in:
Ralf Becker 2014-01-23 15:49:07 +00:00
parent 3f035eaf42
commit 996f9cd2b7

View File

@ -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)