r1477 - branches/experimental/tabbable
Author: scott.gonzalez
Date: Fri Jan 2 08:43:58 2009
New Revision: 1477
Modified:
branches/experimental/tabbable/ui.core.js
Log:
Tabbable: Added support for setting tabindex.
Modified: branches/experimental/tabbable/ui.core.js
==============================================================================
--- branches/experimental/tabbable/ui.core.js (original)
+++ branches/experimental/tabbable/ui.core.js Fri Jan 2 08:43:58 2009
@@ -8,7 +8,7 @@
$.attr = function(elem, key, value) {
if (/tabindex/i.test(key)) {
if (value !== undefined) {
- // TODO: set tabindex
+ return attr.apply(elem, normalizedTabindex, value);
} else {
var attribute = elem.getAttributeNode(normalizedTabindex);
return attribute && attribute.specified && attribute.value || undefined;