From c879f62f7bafa091e89075c84b22b756bef36dbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 23 Apr 2014 13:50:49 -0400 Subject: [PATCH] Accordion demo: Refresh accordion after sorting --- demos/accordion/sortable.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demos/accordion/sortable.html b/demos/accordion/sortable.html index 8f48ef980..f60dff087 100644 --- a/demos/accordion/sortable.html +++ b/demos/accordion/sortable.html @@ -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" ); } }); }); -- 2.39.5