Skip to content
Permalink
Browse files

Tabs: Don't apply a spinner when nested tabs are loading. Fixes #8529…

… - tabs with in tabs, heading appears as Loading....
  • Loading branch information
scottgonzalez committed Aug 30, 2012
1 parent 7852583 commit 13fa4a9dac1ea993b659602f51b2fec28fa2b8f9
Showing with 3 additions and 1 deletion.
  1. +3 −1 ui/jquery.ui.tabs.js
@@ -948,7 +948,9 @@ if ( $.uiBackCompat !== false ) {
this._super();
this._on({
tabsbeforeload: function( event, ui ) {
if ( !this.options.spinner ) {
// Don't react to nested tabs or tabs that don't use a spinner
if ( event.target !== this.element[ 0 ] ||
!this.options.spinner ) {
return;
}

0 comments on commit 13fa4a9

Please sign in to comment.
You can’t perform that action at this time.