disable rich editor for safari

This commit is contained in:
JT Smith 2006-04-15 20:32:44 +00:00
parent acbf0f01a0
commit 11d19f8d91
2 changed files with 3 additions and 1 deletions

View file

@ -32,6 +32,8 @@
- Increased the performance of CS Thread viewing by 500%.
- Changed the CS post rating mechinism to thumbs up/down to be less
confusing.
- Updated TinyMCE rich text editor to version 2.0.5.1.
- Disabled the rich editor for Safari because it doesn't work correctly.
- Added install/uninstall functions to the asset and wobject skeletons to
make custom assets easier to distribute.
- Added a mechanism for importing and exporting packages. This is useful for

View file

@ -424,7 +424,7 @@ sub getToolbar {
#-------------------------------------------------------------------
sub getRichEditor {
my $self = shift;
return '' if $self->getValue('disableRichEditor');
return '' if ($self->getValue('disableRichEditor') || $self->session->env->get("HTTP_USER_AGENT") =~ /Safari/);
my $nameId = shift;
my @toolbarRow1 = split("\n",$self->getValue("toolbarRow1"));
push(@toolbarRow1,"contextmenu") if ($self->getValue("enableContextMenu"));