Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use existing reference to container element instead of reselecting. #1151

Merged
merged 2 commits into from
Apr 19, 2013

Conversation

pfiller
Copy link
Contributor

@pfiller pfiller commented Apr 18, 2013

This change improves usage when Chosen is being created on elements in memory (as opposed to elements that already exist in the dom). It removes the need to create a separate variable for storing the div in the jQuery version and makes the same adjustment in the Prototype version.

Fixes #183

@stof
Copy link
Collaborator

stof commented Apr 18, 2013

looks good

@kenearley
Copy link

Looks good to me too. :shipit:

Conflicts:
	chosen/chosen.jquery.js
	chosen/chosen.jquery.min.js
	chosen/chosen.proto.js
	chosen/chosen.proto.min.js
pfiller added a commit that referenced this pull request Apr 19, 2013
…nces

Use existing reference to container element instead of reselecting.
@pfiller pfiller merged commit f35063f into master Apr 19, 2013
@pfiller pfiller deleted the use-existing-container-references branch April 19, 2013 20:31
@elwayman02
Copy link

When do you think this fix will be available as a released version now that it's been merged into the master branch?

@pfiller
Copy link
Contributor Author

pfiller commented Apr 19, 2013

If you pull down master of Chosen now, this is available. Master is always the latest and greatest of Chosen. We're going to tag the latest changes before wrapping up for the weekend and hopefully get these files pushed out to the documentation pages as well.

@elwayman02
Copy link

Yea, I know I can get it from the master, but we have a policy at work not to pull from master branches. We're only allowed to grab officially tagged releases, hence my question. Thanks for the clarification!

pfiller added a commit that referenced this pull request Apr 19, 2013
Better container reference #1151
Fix issue when destroying last choice #1149
Use selectedIndex for tracking change events. #1147
Better IE Disabling #1144
Dropdown use css positioning for top position #1143
Fix bug when deleting last item #1142
Percentage Width Support #1141
CSS Centering Fix #1120
Use New CoffeeScript #1125
Chosen License #1111
Update placeholder text with ``liszt:updated`` #1107
Fix strange event bubbling #1055
@pfiller
Copy link
Contributor Author

pfiller commented Apr 19, 2013

@elwayman02 the tag is updated. Chosen is now 0.9.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render issues when select tag isn't on document yet
4 participants