summaryrefslogtreecommitdiff
path: root/plugins/TabFocus/tabfocus.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabFocus/tabfocus.js')
-rw-r--r--plugins/TabFocus/tabfocus.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabFocus/tabfocus.js b/plugins/TabFocus/tabfocus.js
new file mode 100644
index 000000000..e2c1c6521
--- /dev/null
+++ b/plugins/TabFocus/tabfocus.js
@@ -0,0 +1,7 @@
+jQuery(function($){
+ $('#notice_data-text').bind('keydown',function(e){
+ if (e.which==9) {
+ setTimeout(function(){ $('#notice_action-submit').focus(); },15);
+ }
+ });
+});