fixed class attribute of box-widgets got not imported

This commit is contained in:
Ralf Becker 2012-07-18 17:39:15 +00:00
parent f198fb8f6e
commit e85d49c343

View File

@ -659,6 +659,8 @@ class xul_io
{
$attr['size'] = '0'.($attr['orient'] || $attr['size'] ? ','.$attr['orient'].
($attr['size'] ? ','.$attr['size'] : '') : '');
$attr['span'] .= $attr['class'] ? ','.$attr['class'] : '';
unset($attr['class']);
soetemplate::add_child($parent,$attr);
$parents[count($parents)] = &$parent; // $parents[] does not always the same - strange
$parent = &$attr;