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

Fix choice build after update #1286

Merged
merged 2 commits into from
Jun 19, 2013
Merged

Fix choice build after update #1286

merged 2 commits into from
Jun 19, 2013

Conversation

pfiller
Copy link
Contributor

@pfiller pfiller commented Jun 18, 2013

@kenearley @stof Another easy bug fix.

This resolves #1270. Essentially, the condition here wasn't testing the proper value. We can safely clear all choices as we're already re-building choices at a later point.

(btw, my commit message on 3e0fbf7 is wrong, but the sentiment is rightish)

pfiller added 2 commits June 18, 2013 14:10
Because ``this.choices_count`` was getting called after
``@selected_option_count = null``, this condition NEVER passed.
@stof
Copy link
Collaborator

stof commented Jun 19, 2013

looks good to me

@kenearley
Copy link

:shipit:

pfiller added a commit that referenced this pull request Jun 19, 2013
@pfiller pfiller merged commit 21c1460 into master Jun 19, 2013
@pfiller pfiller deleted the fix-choice-build-after-update branch June 19, 2013 15:13
pfiller added a commit that referenced this pull request Jul 2, 2013
Replace prop for jQuery legacy support #1311
Prevent default on arrow down #1309
Explicitly add files for gh-pages #1307
Fix RTL Disabled Search Issue #1300
Fix scroll bug in Prototype version #1301
Read-only search field when search is disabled. #1294
Remove Grunt-Bump #1280
Make sure Chosen isn't disabled before showing results. #1282
Fix choice build after update #1286
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.

Possible to update Chosen's selected values?
3 participants