aboutsummaryrefslogtreecommitdiffstats
path: root/demos/accordion
diff options
context:
space:
mode:
Diffstat (limited to 'demos/accordion')
-rw-r--r--demos/accordion/sortable.html3
1 files changed, 3 insertions, 0 deletions
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" );
}
});
});