X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fmsg-header.tpl;h=098333893fdc5f5196f647a1ff1f1886e31f9397;hb=84686a26986e4d57093e48523b444dcd4f17c392;hp=b5c78345a318f4b570172db08edb3d82fa1f1237;hpb=635958e11da2f5a0d587b66968453064c2d41f13;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); + } }); } });