UI Tabs: added index to ui object passed into event handlers

This commit is contained in:
Klaus Hartl 2008-07-06 15:03:38 +00:00
parent f89359515d
commit 9c6efa220e

View File

@ -38,7 +38,8 @@ $.widget("ui.tabs", {
return { return {
options: this.options, options: this.options,
tab: tab, tab: tab,
panel: panel panel: panel,
index: this.$tabs.index(tab)
}; };
}, },
tabify: function(init) { tabify: function(init) {