class ExtForm::Helpers::Tags::GroupedCollectionSelect

Public Instance Methods

render() click to toggle source
Calls superclass method
# File lib/ext_form/helpers/tags/grouped_collection_select.rb, line 5
def render
  output = super

  html_options = {}
  add_default_name_and_id(html_options)

  output << @template_object.javascript_tag do
    "$(function(){$('##{html_options['id']}').trigger('select2_load');});".html_safe
  end
  output.html_safe
end