aboutsummaryrefslogtreecommitdiffstats
path: root/view/msg-header.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-16 15:08:32 -0700
committerfriendica <info@friendica.com>2012-03-16 15:08:32 -0700
commit141ae076ad9fc6dfce1b25604f44faa54a4ad940 (patch)
treee764658692b4c66b5f0f14d796a56980c23779f6 /view/msg-header.tpl
parent58940175e173c04c9bfa3498af40c65f6514a9ce (diff)
parentc7dd52be6268e0232dc3c3e035235078b5ea4547 (diff)
downloadvolse-hubzilla-141ae076ad9fc6dfce1b25604f44faa54a4ad940.tar.gz
volse-hubzilla-141ae076ad9fc6dfce1b25604f44faa54a4ad940.tar.bz2
volse-hubzilla-141ae076ad9fc6dfce1b25604f44faa54a4ad940.zip
Merge branch 'pull'
Diffstat (limited to 'view/msg-header.tpl')
-rwxr-xr-xview/msg-header.tpl6
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);
+ }
});
}
});