Problem writing to the RichText box with JavaScript

Moderator: crythias

Post Reply
Mothra
Znuny expert
Posts: 189
Joined: 26 Oct 2010, 15:04
Znuny Version: 3.2.11

Problem writing to the RichText box with JavaScript

Post by Mothra »

I've been trying out the modifications suggested in http://forums.otrs.org/viewtopic.php?f=60&t=8032 for Agent Email/Phone Tickets, but have immediately run into problems (in a brand new installation of OTRS 3.0.11) when running lines like:

Code: Select all

document.compose.RichText.value = 'Some Text';
I get a variety of results depending on which browser I'm running - for Safari and Chrome, the text doesn't appear, in Firefox, if I refresh the screen, the text appears but most of the other fields in the form (Customer, Service, SLA) have been reset.

In fact, the only way I can get it to work as intended is by disabling the RichText Editor. Does anyone else have this problem with the latest OTRS? Is it worth raising a bug with OTRS for this?
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
Post Reply