This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/page_parts/reload_widgets.js.erb

4 lines
321 B
Plaintext
Raw Normal View History

2012-07-16 08:13:38 +00:00
$('#widget_list select').html("<%= j options_for_select(@module_app.widgets.collect{|k,v| k}) %>")
2012-07-26 08:39:29 +00:00
$('#widget_style_list select').html("<%= j options_for_select(@module_app.widgets[@widget_path]) %>")
$('#widget_category').html("<%= j render 'widget_categories' %>")
$('#widget_tag').html("<%= j render 'widget_tags' %>")