]> git.mxchange.org Git - friendica.git/blobdiff - view/msg-header.tpl
added index to config and pconfig table
[friendica.git] / view / msg-header.tpl
index b5c78345a318f4b570172db08edb3d82fa1f1237..098333893fdc5f5196f647a1ff1f1886e31f9397 100755 (executable)
@@ -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);
+                               }
                        });
                }
        });