Allow selected as attribute

pull/137/head
corbosman 12 years ago
parent c20fa4a1ad
commit 754779be6d

@ -645,7 +645,7 @@ class html_select extends html
$option_content = self::quote($option_content);
}
$this->content .= self::tag('option', $attr + $option, $option_content, array('class','style','title','disabled'));
$this->content .= self::tag('option', $attr + $option, $option_content, array('class','style','title','disabled','selected'));
}
return parent::show();

Loading…
Cancel
Save