Author Topic: Javascript error when sending blank message  (Read 2459 times)

Offline benw

  • Newbie
  • *
  • Posts: 4
Javascript error when sending blank message
« on: October 04, 2007, 04:22:18 PM »
EDITED- OK, duh, I downloaded the latest build from the SVN and this appears to be resolved.



I'm running rc1, and found a small bug (or maybe a problem with my config?) when I attempt to send a message with a blank body (such as a mailing list unsubscribe), the error I get is:

Error: tinyMCE is not defined
Source File: http://forlent.com/rc/program/js/app.js
Line: 1683

That code is:
Code: [Select]
 // check for empty body
  if ((input_message.value=='')&&(tinyMCE.getContent()==''))
   {
   if (!confirm(this.get_label('nobodywarning')))
    {
    input_message.focus();
    return false;
    }
   }

The error appears and the send button doesn't respond. It's easily resolved by writing something in the message body. I'm using Firefox 2.0.0.7

Thanks,
Ben