diff options
author | Scott González <scott.gonzalez@gmail.com> | 2014-04-23 13:50:49 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2014-04-23 13:50:49 -0400 |
commit | c879f62f7bafa091e89075c84b22b756bef36dbe (patch) | |
tree | 952ce95be5a78bb1fbf11a6fde2df750cf037fbf /demos/accordion | |
parent | 69a3d94a064d60760f3872b959aa305fdc2e30c2 (diff) | |
download | jquery-ui-c879f62f7bafa091e89075c84b22b756bef36dbe.tar.gz jquery-ui-c879f62f7bafa091e89075c84b22b756bef36dbe.zip |
Accordion demo: Refresh accordion after sorting
Diffstat (limited to 'demos/accordion')
-rw-r--r-- | demos/accordion/sortable.html | 3 |
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" ); } }); }); |