summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
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;
};