Skip to content

Commit

Permalink
Don't redefine priority_zones to nil, after it's been previously set,…
Browse files Browse the repository at this point in the history
… as fixed on 3.1
  • Loading branch information
FrozenProduce committed Nov 15, 2012
1 parent 6ab147d commit 491d132
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 @@ -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
Expand Down

0 comments on commit 491d132

Please sign in to comment.