Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Conversation

stforek
Copy link

@stforek stforek commented Feb 18, 2013

Hi.
I found that refresh was called twice when creating controlgroup widget. First from method _setType() and then from _init(). I used _initialRefresh property to determine if options are set when widget is created. I've checked that changing type with $().controlgroup('option', 'type', 'vertical') still works :) There should probably be test added.
I also added some small performance fixes:

  • removed ui object
  • create legend wrapper only when it is needed

…d element is now created when it is needed.
@gabrielschulhof gabrielschulhof merged commit 2138a09 into jquery-archive:master Mar 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants