orbit-basic/app/views/admin/page_parts/reload_widget_styles.js.erb

8 lines
424 B
Plaintext
Raw Normal View History

2013-01-14 10:49:23 +00:00
<% if show_default_widget_setting_panel %>
2013-01-21 08:56:37 +00:00
$('#widget_setting').html("<%= j render :partial => 'default_widget_style_panel',:locals=>{:object=>@part} %>");
$('#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 %>