Any changed sel_options from app need to get encoded too.

Fixes missing 'All' option in Tracker with Firefox.
This commit is contained in:
Nathan Gray 2014-04-08 17:42:19 +00:00
parent 8675c75443
commit 22dfe2a5db

View File

@ -352,6 +352,15 @@ class etemplate_widget_nextmatch extends etemplate_widget
}
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;
}
}