Skip to content

Commit

Permalink
Tabs: Prevent opening a tab while panels are being animated. Fixes #4…
Browse files Browse the repository at this point in the history
…771 - Tabs: Occassionally displays multiple tabs when clicked with rotate control using opacity toggle fx.
  • Loading branch information
cmcculloh authored and scottgonzalez committed Sep 7, 2010
1 parent 0c82f7e commit 8f22b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/jquery.ui.tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ $.widget( "ui.tabs", {
if ( ( $li.hasClass( "ui-tabs-selected" ) && !o.collapsible) ||
$li.hasClass( "ui-state-disabled" ) ||
$li.hasClass( "ui-state-processing" ) ||
self.panels.filter( ":animated" ).length ||
self._trigger( "select", null, self._ui( this, $show[ 0 ] ) ) === false ) {
this.blur();
return false;
Expand Down

0 comments on commit 8f22b2b

Please sign in to comment.