Orbit/app/views/admin/page_parts/reload_widgets.js.erb

1 line
125 B
Plaintext

$('#widget_list select').html("<%= j options_for_select(@module_app.widgets.collect{|widget| [widget.humanize, widget]}) %>")