Make the display of a textarea instead of an HTMLarea independent of whether mobile styles are configured for the site. Refixes #11902.

This commit is contained in:
Colin Kuskie 2010-10-25 15:30:23 -07:00
parent dcae5190da
commit 6fced77b37
3 changed files with 23 additions and 6 deletions

View file

@ -184,7 +184,7 @@ Renders an HTML area field.
sub toHtml {
my $self = shift;
##Do not display a rich editor on any mobile browser.
if ($self->session->style->useMobileStyle) {
if ($self->session->style->mobileBrowser) {
return $self->SUPER::toHtml;
}
my $i18n = WebGUI::International->new($self->session);