mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Any changed sel_options from app need to get encoded too.
Fixes missing 'All' option in Tracker with Firefox.
This commit is contained in:
parent
8675c75443
commit
22dfe2a5db
@ -352,6 +352,15 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
|||||||
}
|
}
|
||||||
else // non-row data set by get_rows method
|
else // non-row data set by get_rows method
|
||||||
{
|
{
|
||||||
|
// Encode all select options and re-index to avoid Firefox's problem with
|
||||||
|
// '' => 'All'
|
||||||
|
if($n == 'sel_options')
|
||||||
|
{
|
||||||
|
foreach($row as $select => &$options)
|
||||||
|
{
|
||||||
|
etemplate_widget_menupopup::fix_encoded_options($options,true);
|
||||||
|
}
|
||||||
|
}
|
||||||
$result['rows'][$n] = $row;
|
$result['rows'][$n] = $row;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user