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.
2013-01-14 10:49:23 +00:00
|
|
|
$('#widget_list select').html("<%= j options_for_select(@module_app.widgets.collect{|k,v| k},@part.widget_path) %>");
|
2013-01-21 08:56:37 +00:00
|
|
|
$("#widget_data_source_category").html("<%= j render :partial => 'widget_data_source_category',:locals=>{:object=>@part} %>");
|
|
|
|
$("#widget_data_source_tag").html("<%= j render :partial => 'widget_data_source_tag',:locals=>{:object=>@part} %>");
|
2013-01-14 10:49:23 +00:00
|
|
|
|
|
|
|
<% if !@part.widget_path.blank? %>
|
|
|
|
<% if show_default_widget_setting_panel %>
|
|
|
|
$('#widget_setting').html("<%= j render :partial => 'default_widget_style_panel' %>");
|
2013-01-21 08:56:37 +00:00
|
|
|
$('#widget_setting').append("<%= j render :partial => 'default_widget_setting',:locals=>{:object=>@part} %>");
|
2013-01-14 10:49:23 +00:00
|
|
|
<% elsif show_custom_widget_setting_panel %>
|
|
|
|
$('#widget_setting').html("<%= j render :partial => 'custom_widget_setting' %>");
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
2012-12-28 07:30:46 +00:00
|
|
|
|