aboutsummaryrefslogtreecommitdiffstats
path: root/view/msg-header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/msg-header.tpl')
-rwxr-xr-xview/msg-header.tpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/view/msg-header.tpl b/view/msg-header.tpl
index b5c78345a..1f8650bfe 100755
--- a/view/msg-header.tpl
+++ b/view/msg-header.tpl
@@ -30,8 +30,15 @@ if(plaintext != 'none') {
setup : function(ed) {
ed.onInit.add(function(ed) {
ed.pasteAsPlainText = true;
+ var editorId = ed.editorId;
+ var textarea = $('#'+editorId);
+ console.log(textarea);
+ if (typeof(textarea.attr('tabindex')) != "undefined") {
+ $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
+ textarea.attr('tabindex', null);
+ }
});
- }
+ },
});
}