diff options
author | Klaus Hartl <klaus.hartl@googlemail.com> | 2008-07-06 15:03:38 +0000 |
---|---|---|
committer | Klaus Hartl <klaus.hartl@googlemail.com> | 2008-07-06 15:03:38 +0000 |
commit | 9c6efa220e98a3b2d1f9437d0e05d8b2831e8f42 (patch) | |
tree | bdbf1f0b515320218b528844820c3e5821407b6c | |
parent | f89359515ddcb74b82e1fa81749a5030b68cf992 (diff) | |
download | jquery-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.js | 3 |
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) { |