app/assets/javascripts/active_admin/select2/select2.js.coffee in activeadmin-select2-0.1.7 vs app/assets/javascripts/active_admin/select2/select2.js.coffee in activeadmin-select2-0.1.8
- old
+ new
@@ -10,8 +10,8 @@
item.select2(options)
$(document).on 'has_many_add:after', '.has_many_container', (e, fieldset) ->
initSelect2(fieldset.find('.select2-input'))
-$(document).ready ->
+$(document).on 'ready page:load turbolinks:load', ->
initSelect2($(".select2-input"), placeholder: "")
return