Skip to content

Loading…

Ensure that priority_zones isn't redefined to nil #436

Merged
merged 1 commit into from

2 participants

@adamcarlile

As previously fixed on 3.1 by @leemhenson in commit 0d7090c

@bcardarella

Gah, this was supposed to be pulled into 3-2-stable but was only applied to 3-1-stable: #373

Thank you, merged!

@bcardarella bcardarella merged commit 78312bc into DavyJonesLocker:3-2-stable

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 15, 2012
  1. @adamcarlile
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/client_side_validations/action_view/form_builder.rb
View
2 lib/client_side_validations/action_view/form_builder.rb
@@ -86,7 +86,7 @@ def grouped_collection_select_with_client_side_validations(method, collection, g
def time_zone_select_with_client_side_validations(method, priority_zones = nil, options = {}, html_options = {})
build_validation_options(method, html_options.merge(:name => options[:name]))
html_options.delete(:validate)
- time_zone_select_without_client_side_validations(method, priority_zones = nil, options, html_options)
+ time_zone_select_without_client_side_validations(method, priority_zones, options, html_options)
end
private
Something went wrong with that request. Please try again.