diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:41:14 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:41:14 -0400 |
commit | 7cf2719d0c406c7ff17c7e784c0e1e6eb23b562a (patch) | |
tree | 1bbf4228f1c19dd0d842a982640fc78b2f92412f /ui | |
parent | 0fc682a8dadc894caefe27c5a0fccf1eca30780d (diff) | |
download | jquery-ui-7cf2719d0c406c7ff17c7e784c0e1e6eb23b562a.tar.gz jquery-ui-7cf2719d0c406c7ff17c7e784c0e1e6eb23b562a.zip |
Tabs: Removed select method. Fixes #7156 - Tabs: Remove select method.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.tabs.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index ed0ca1036..10cdaecd4 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -1082,21 +1082,6 @@ if ( $.uiBackCompat !== false ) { } }); - // select method - $.widget( "ui.tabs", $.ui.tabs, { - select: function( index ) { - index = this._getIndex( index ); - if ( index === -1 ) { - if ( this.options.collapsible && this.options.selected !== -1 ) { - index = this.options.selected; - } else { - return; - } - } - this.anchors.eq( index ).trigger( this.options.event + this.eventNamespace ); - } - }); - // load event $.widget( "ui.tabs", $.ui.tabs, { _trigger: function( type, event, data ) { |