You can clone with
HTTPS or Subversion.
Before 1.0.1 collapsible set which was populated dynamically and then refreshed - worked ok: http://jsfiddle.net/ekeAJ/
Starting from 1.0.1 it is broken: http://jsfiddle.net/AtCKa/
Looks like code execution is not reaching collapsible-set widget's _create() method. At the same time collapsible's _create() runs fine for non-in-set widgets and collapsibles that are inside set. That's why in-set collapsibles look like independent.
Looks like this may be related to the changes in 94389bd
Kicking this your way, @gseguin. Thanks!
The decoupling of collapsible and collapsibleSet is the root cause of that issue. Before, everytime the create event was triggered the entire block was enhanced.
In the 1.0.1 codebase, create causes $.mobile.collapsibleset.prototype.enhanceWithin to be called on the collapsibleset element which in turn will call its _init method, not _create since at that time the collapsible set is already wigetized (https://github.com/jquery/jquery-mobile/blob/1.0-stable/js/jquery.ui.widget.js#L117).
So there are two parts to that issue:
Fixes #3529 - Added refresh method to collapsibleset widget
Added tests for issue #3529: collapsible set with dynamic content
Great, thanks! Will test today :)
Yeah. Confirming fix :)