possible duplicate div.ui-controlgroup-controls being created via controlgroup()
Not sure if this qualifies as an idea or a bug:
In debugging an issue we had with the display of controlgroups, I noticed that controlgroup() inserts a <div class='ui-controlgroup-controls'> into the element without checking to see if it's already been added. So if you had a situation where controlgroup() was called twice, you would see funny display formatting. (fwiw, in 1.0.1 there's a check first to see if the heading exists before the div is added.)
We saw issues when we upgraded to 1.1.1. We initially had 2 calls to controlgroup, once when the container was created (but hidden) and once when the controlgroup was shown...since we were calling it twice, we were getting a double does of the div.ui-controlgroup-controls. We were able to solve our problem, and eliminate the 2nd call by adding the exludesInvisible:false option to the first call. But it made me wonder if there might be other situations where the function could be called twice inadvertently.