summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-18 14:44:48 +0000
committeralecpl <alec@alec.pl>2011-11-18 14:44:48 +0000
commitc994e0e7cd9f593eb21ff80c7c1ddbeaf2a1b12a (patch)
tree44bf85e3a9f96cd13fb82d263cbf068f317fb21c /program/js/app.js
parentbdb649067d8cd5bdfa584a21d0a8664f8f89f2d3 (diff)
- Applied fixes from trunk up to r5451
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 5902b1d74..8b98a4268 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5738,7 +5738,7 @@ function rcube_webmail()
this.plain2html = function(plainText, id)
{
var lock = this.set_busy(true, 'converting');
- $(document.getElementById(id)).val('<pre>'+plainText+'</pre>');
+ $(document.getElementById(id)).val(plainText ? '<pre>'+plainText+'</pre>' : '');
this.set_busy(false, null, lock);
};