aboutsummaryrefslogtreecommitdiffstats
path: root/view/msg-header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/msg-header.tpl')
-rwxr-xr-xview/msg-header.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/msg-header.tpl b/view/msg-header.tpl
index b5c78345a..2d1ea7a61 100755
--- a/view/msg-header.tpl
+++ b/view/msg-header.tpl
@@ -16,6 +16,7 @@ if(plaintext != 'none') {
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "center",
theme_advanced_blockformats : "blockquote,code",
+ gecko_spellcheck : true,
paste_text_sticky : true,
entity_encoding : "raw",
add_unload_trigger : false,
@@ -30,10 +31,19 @@ if(plaintext != 'none') {
setup : function(ed) {
ed.onInit.add(function(ed) {
ed.pasteAsPlainText = true;
+ var editorId = ed.editorId;
+ var textarea = $('#'+editorId);
+ if (typeof(textarea.attr('tabindex')) != "undefined") {
+ $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
+ textarea.attr('tabindex', null);
+ }
});
}
});
}
+else
+ $("#prvmail-text").contact_autocomplete(baseurl+"/acl");
+
</script>
<script type="text/javascript" src="js/ajaxupload.js" ></script>