diff options
Diffstat (limited to 'view/msg-header.tpl')
-rwxr-xr-x | view/msg-header.tpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/msg-header.tpl b/view/msg-header.tpl index b5c78345a..098333893 100755 --- a/view/msg-header.tpl +++ b/view/msg-header.tpl @@ -30,6 +30,12 @@ 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); + } }); } }); |