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:
parent
dcae5190da
commit
6fced77b37
3 changed files with 23 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue