Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 5 files changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 23, 2012
@JoshuaNovak919 JoshuaNovak919 Set container id to always generate
This is to fix the issue with chosen selects having the same id when
using ajax tabs.
2850a22
View
BIN .DS_Store
Binary file not shown.
View
BIN lib/.DS_Store
Binary file not shown.
View
BIN vendor/.DS_Store
Binary file not shown.
View
BIN vendor/assets/.DS_Store
Binary file not shown.
View
2 vendor/assets/javascripts/chosen.jquery.coffee
@@ -26,7 +26,7 @@ class Chosen extends AbstractChosen
@form_field_jq.addClass "chzn-done"
set_up_html: ->
- @container_id = if @form_field.id.length then @form_field.id.replace(/[^\w]/g, '_') else this.generate_field_id()
+ @container_id = this.generate_field_id()
@container_id += "_chzn"
@f_width = @form_field_jq.outerWidth()

No commit comments for this range

Something went wrong with that request. Please try again.