Permalink
Browse files

tabindex attribute changed from 1 to 0.

Having the tabindex set to 1 was causing the focus to jump around
the screen quite a bit e.g. hitting <tab> would go straight to the
jqGrid, but subsequent <tab> key presses would then jump back up
to the main navigational links.

Changing the tabindex to zero meant that jqGrid <table> can still
receive the focus, but receives it according to the normal document
flow.
  • Loading branch information...
ianoxley committed Sep 13, 2012
1 parent 097ec6b commit e79814cb9643b05a964ff61ccbd63b25516f30f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/grid.base.js
View
@@ -933,7 +933,7 @@ $.fn.jqGrid = function( pin ) {
return;
}
}
- $(this).empty().attr("tabindex","1");
+ $(this).empty().attr("tabindex","0");
this.p = p ;
this.p.useProp = !!$.fn.prop;
var i, dir;

0 comments on commit e79814c

Please sign in to comment.