diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-13 08:00:45 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-13 08:00:45 -0400 |
commit | 9608e981498846b3727cc4dad723a7fa7252fd86 (patch) | |
tree | 591ab885bf28ef77be87b2121fe9ecb461e7358f /ui/jquery.ui.tabs.js | |
parent | e8b623207abcae500ffb3860378543906cd4e2b2 (diff) | |
download | jquery-ui-9608e981498846b3727cc4dad723a7fa7252fd86.tar.gz jquery-ui-9608e981498846b3727cc4dad723a7fa7252fd86.zip |
Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off.
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r-- | ui/jquery.ui.tabs.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index f3b27cf9d..5878a56a1 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -481,9 +481,9 @@ $.widget( "ui.tabs", { } this.anchors.add( this.tabs ).add( this.panels ).unbind( ".tabs" ); - this._bind( this.anchors, events ); - this._bind( this.tabs, { keydown: "_tabKeydown" } ); - this._bind( this.panels, { keydown: "_panelKeydown" } ); + this._on( this.anchors, events ); + this._on( this.tabs, { keydown: "_tabKeydown" } ); + this._on( this.panels, { keydown: "_panelKeydown" } ); this._focusable( this.tabs ); this._hoverable( this.tabs ); @@ -943,7 +943,7 @@ if ( $.uiBackCompat !== false ) { }, _create: function() { this._super(); - this._bind({ + this._on({ tabsbeforeload: function( event, ui ) { if ( !this.options.spinner ) { return; |