diff options
author | Simon <simon@kisikew.org> | 2012-03-16 10:54:20 -0700 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-03-16 10:54:20 -0700 |
commit | 1246a40ec22d1df7c0aa47d13690a65e868edaa4 (patch) | |
tree | 5525492fa6b53fc743e3f47d733157a9bf7f9681 /view/msg-header.tpl | |
parent | 925b9c5b9ce83825f5003f88d3afbdcb620c28fc (diff) | |
parent | 90bb32ab7393687d46e198f94d181c830f881def (diff) | |
download | volse-hubzilla-1246a40ec22d1df7c0aa47d13690a65e868edaa4.tar.gz volse-hubzilla-1246a40ec22d1df7c0aa47d13690a65e868edaa4.tar.bz2 volse-hubzilla-1246a40ec22d1df7c0aa47d13690a65e868edaa4.zip |
Merge pull request #141 from CatoTH/master
Private messages - tabindex
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); + } }); } }); |