5 lines
435 B
Plaintext
5 lines
435 B
Plaintext
$('#widget_list select').html("<%= j options_for_select(@module_app.widgets.collect{|k,v| k}) %>");
|
|
$('#widget_style_list').html("<%= escape_javascript(select 'page_part', 'widget_style', @module_app.widgets[@widget_path]) if !@widget_path.blank? %>");
|
|
$('#widget_field').html("<%= j render 'widget_fields' %>");
|
|
$('#widget_category').html("<%= j render 'widget_categories' %>");
|
|
$('#widget_tag').html("<%= j render 'widget_tags' %>"); |