admin/app/views/gaku/admin/presets/edit.js.erb in gaku-0.2.2 vs admin/app/views/gaku/admin/presets/edit.js.erb in gaku-0.2.3

- old
+ new

@@ -1,6 +1,12 @@ -$('#ajax-load').html('<%=j render "tabs" %>') +$('#ajax-load').html('<%=j render "tabs" %>'); + +$('body').on('change', '#country_dropdown', function() { + return load_preset_states(<%= @preset.id %>); +}); + +load_preset_states(<%= @preset.id %>);