diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:45:18 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:45:18 -0400 |
commit | fb525e1cb10ce5959df28b0cbd29ebdc96c266f4 (patch) | |
tree | 372dd9ef201e997ca8c54e93cd04ac47399106ec /ui | |
parent | a1fd49fb2944a7dbe76e81ba648c2b56e7c6651d (diff) | |
download | jquery-ui-fb525e1cb10ce5959df28b0cbd29ebdc96c266f4.tar.gz jquery-ui-fb525e1cb10ce5959df28b0cbd29ebdc96c266f4.zip |
Tabs: Removed select event. Fixes #7154 - Tabs: Remove select event.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.tabs.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 4a8287305..cc9e93b7d 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -1046,27 +1046,6 @@ if ( $.uiBackCompat !== false ) { } }); - // select event - $.widget( "ui.tabs", $.ui.tabs, { - options: { - select: null - }, - _trigger: function( type, event, data ) { - var ret = this._superApply( arguments ); - if ( !ret ) { - return false; - } - if ( type === "beforeActivate" && data.newTab.length ) { - ret = this._super( "select", event, { - tab: data.newTab.find( ".ui-tabs-anchor" )[ 0], - panel: data.newPanel[ 0 ], - index: data.newTab.closest( "li" ).index() - }); - } - return ret; - } - }); - // load event $.widget( "ui.tabs", $.ui.tabs, { _trigger: function( type, event, data ) { |