Permalink
Browse files

don't force priority_zones to nil when time_zone_select helper is used

  • Loading branch information...
1 parent c86621d commit 0d7090c6c7337a377bc6ffc1c96938a3535523c3 @leemhenson leemhenson committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 0d7090c

Please sign in to comment.