summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-06-05 12:46:49 +0200
committerAleksander Machniak <alec@alec.pl>2014-06-05 12:46:49 +0200
commit4f3f3b47e227408646392e7867ec21178a84ab3a (patch)
tree12d1681388b8fd72ee470c07d3c9e46d345a5f9a /program
parent7fafb4d0d28bef3902da4cc172cd53c2376aeb03 (diff)
Fix regression where html code is sent as plain text (#1488649)
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d12dd81ca..6d66aa2c0 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3595,6 +3595,11 @@ function rcube_webmail()
$(e.target).filter('select').val(props.html ? 'plain' : 'html');
}
+ if (result) {
+ // update internal format flag
+ $("input[name='_is_html']").val(props.html ? 1 : 0);
+ }
+
return result;
};