In addition to mobile browser detection for styles, also do it for HTMLAreas and display a simple textarea instead. Fixes bug #11902.
This commit is contained in:
parent
3ad69de404
commit
b02aee50d8
2 changed files with 6 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
- fixed #11913: Editing the survey doesn't work
|
||||
- fixed #11915: Date macro returns hour value w/ leading space
|
||||
- fixed #11901: NotifyAboutVersionTag includes URL, even when inappropriate
|
||||
- fixed #11902: forums bug
|
||||
|
||||
7.10.2
|
||||
- fixed #11884: Editing Templates impossible / Code editor not loaded
|
||||
|
|
|
|||
|
|
@ -183,7 +183,11 @@ Renders an HTML area field.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
##Do not display a rich editor on any mobile browser.
|
||||
if ($self->session->style->useMobileStyle) {
|
||||
return $self->SUPER::toHtml;
|
||||
}
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
my $richEdit = $self->{_richEdit};
|
||||
$richEdit ||= WebGUI::Asset::RichEdit->new($self->session,$self->get("richEditId"));
|
||||
if (defined $richEdit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue