Skip to content

Commit

Permalink
Merge pull request #373 from musicglue/priority_zones
Browse files Browse the repository at this point in the history
don't force priority_zones to nil when time_zone_select helper is used
  • Loading branch information
bcardarella committed Aug 22, 2012
2 parents c86621d + 0d7090c commit 50d3836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client_side_validations/action_view/form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50d3836

Please sign in to comment.