Accordion demo: Refresh accordion after sorting

This commit is contained in:
Scott González 2014-04-23 13:50:49 -04:00
parent 69a3d94a06
commit c879f62f7b

View File

@ -28,6 +28,9 @@
// IE doesn't register the blur when sorting
// so trigger focusout handlers to remove .ui-state-focus
ui.item.children( "h3" ).triggerHandler( "focusout" );
// Refresh accordion to handle new order
$( this ).accordion( "refresh" );
}
});
});