Let transformer handle trying to change sel_options

This commit is contained in:
Nathan Gray 2011-10-05 22:27:35 +00:00
parent dfe5d21ea4
commit f67bfba58d

View File

@ -200,6 +200,11 @@ abstract class etemplate_widget_transformer extends etemplate_widget
{ {
// nothing to do here // nothing to do here
} }
// TODO: Might be a better way to handle when value to be set is an array
elseif(is_array($action) && $attr == 'sel_options')
{
$attrs[$attr] = $action;
}
// action is a switch --> check cases // action is a switch --> check cases
elseif(is_array($action)) elseif(is_array($action))
{ {