thomascube
2007-09-11 67eda0850d9e71a3b461e278730afe7b9ad9b9c3
Fixed check for message content when composing

1 files modified
2 ■■■ changed files
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -1691,7 +1691,7 @@
      }
    // check for empty body
    if ((input_message.value == '' || (window.tinyMCE && tinyMCE.getContent() == '')) && !confirm(this.get_label('nobodywarning')))
    if ((input_message.value == '' && (!window.tinyMCE || tinyMCE.getContent() == '')) && !confirm(this.get_label('nobodywarning')))
      {
      input_message.focus();
      return false;