Permalink
Browse files

Merge pull request #373 from musicglue/priority_zones

don't force priority_zones to nil when time_zone_select helper is used
  • Loading branch information...
2 parents c86621d + 0d7090c commit 50d3836a4a97f8dc046bb28f715320b5d35aeddc @bcardarella bcardarella committed Aug 22, 2012
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
@@ -72,7 +72,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 = {})
apply_client_side_validators(method, html_options)
- 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

0 comments on commit 50d3836

Please sign in to comment.