summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2008-04-17 04:17:55 +0000
committersvncommit <devs@roundcube.net>2008-04-17 04:17:55 +0000
commit140d6e90638752a6d14738fcaa891fc3a7cd81fd (patch)
tree178cd839ee4ac6d9dd455e0e365498ce919417bc /program/js/app.js
parent09c1a37be21f06903e04ad459471b2f6e24e448c (diff)
fix HTML mail sending
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 98eb9d8ac..91389415a 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1792,7 +1792,9 @@ function rcube_webmail()
}
// check for empty body
- if ((input_message.value == '' && (!window.tinyMCE || tinyMCE.getContent() == '')) && !confirm(this.get_label('nobodywarning')))
+ if ((input_message.value == '' &&
+ (!window.tinyMCE || tinyMCE.get('compose-body').getContent() == '')) &&
+ !confirm(this.get_label('nobodywarning')))
{
input_message.focus();
return false;