Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small bug fix.

Removed a leftover from copying the country_select code.
  • Loading branch information...
commit b11d125990d98a539fcc38ba1be2ce68ab2cf737 1 parent 5f9eabf
@oneiros oneiros authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/localized_language_select.rb
View
2  lib/localized_language_select.rb
@@ -125,7 +125,7 @@ class SemanticFormBuilder < ActionView::Helpers::FormBuilder
def language_input(method, options)
html_options = options.delete(:input_html) || {}
- priority_languages = options.delete(:priority_languages) || self.priority_languages
+ priority_languages = options.delete(:priority_languages) || []
field_id = generate_html_id(method, "")
html_options[:id] ||= field_id
Please sign in to comment.
Something went wrong with that request. Please try again.