From 67eda0850d9e71a3b461e278730afe7b9ad9b9c3 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 11 Sep 2007 13:11:03 -0400 Subject: [PATCH] Fixed check for message content when composing --- program/js/app.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 5af98a2..7bc0fb3 100644 --- a/program/js/app.js +++ b/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; -- Gitblit v1.9.1