jquery/jquery-mobile — pull request #4299 by uGoMobi (2012-05-06 14:33:55+00:00)
Title: Fixes #3496 - Styling of added checkbox incorrect when in controlgroup

Issue: When a new controlgroup item (button, selectmenu, checkbox/radio) is dynamically injected, the controlgroup corner styling can't be refreshed.
Cause: The controlgroup function doesn't consider situations where the controlgroup element is already styled as a controlgroup.
Fix: Added classes to the list of classes that have to be removed before corner classes getting assigned (again).

Passed all unit tests. Live test page: http://ugomobi.github.com/controlgroup/

Fixes: #3496