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

3 lines
246 B
Plaintext
Raw Normal View History

2012-02-28 14:00:05 +00:00
$('#widget_list select').html("<%= j options_for_select(@module_app.widgets.collect{|widget| [widget.humanize, widget]}) %>")
$('#widget_category').html("<%= j render 'widget_categories' %>")
$('#widget_tag').html("<%= j render 'widget_tags' %>")