Sortable demo: Fix use of tabs API.

This commit is contained in:
Scott González 2013-01-31 09:16:54 -05:00
parent c193a0ce17
commit a36012ad97

View File

@ -30,7 +30,7 @@
.find( ".connectedSortable" ); .find( ".connectedSortable" );
ui.draggable.hide( "slow", function() { ui.draggable.hide( "slow", function() {
$tabs.tabs( "select", $tab_items.index( $item ) ); $tabs.tabs( "option", "active", $tab_items.index( $item ) );
$( this ).appendTo( $list ).show( "slow" ); $( this ).appendTo( $list ).show( "slow" );
}); });
} }