X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=view%2Fmsg-header.tpl;h=098333893fdc5f5196f647a1ff1f1886e31f9397;hb=cbf4544887c7f496f2b2312727fe7bcb64a6d6c8;hp=b5c78345a318f4b570172db08edb3d82fa1f1237;hpb=a1305433b8110ebfa9d722ba4053f0292dadf22a;p=friendica.git diff --git a/view/msg-header.tpl b/view/msg-header.tpl index b5c78345a3..098333893f 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); + } }); } });