aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Hartl <klaus.hartl@googlemail.com>2008-07-06 15:03:38 +0000
committerKlaus Hartl <klaus.hartl@googlemail.com>2008-07-06 15:03:38 +0000
commit9c6efa220e98a3b2d1f9437d0e05d8b2831e8f42 (patch)
treebdbf1f0b515320218b528844820c3e5821407b6c
parentf89359515ddcb74b82e1fa81749a5030b68cf992 (diff)
downloadjquery-ui-9c6efa220e98a3b2d1f9437d0e05d8b2831e8f42.tar.gz
jquery-ui-9c6efa220e98a3b2d1f9437d0e05d8b2831e8f42.zip
UI Tabs: added index to ui object passed into event handlers
-rw-r--r--ui/ui.tabs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js
index 53dc90c19..a7099d0be 100644
--- a/ui/ui.tabs.js
+++ b/ui/ui.tabs.js
@@ -38,7 +38,8 @@ $.widget("ui.tabs", {
return {
options: this.options,
tab: tab,
- panel: panel
+ panel: panel,
+ index: this.$tabs.index(tab)
};
},
tabify: function(init) {