From 9c6efa220e98a3b2d1f9437d0e05d8b2831e8f42 Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Sun, 6 Jul 2008 15:03:38 +0000 Subject: UI Tabs: added index to ui object passed into event handlers --- ui/ui.tabs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3