Orbit/app/views/admin/pages/reload_front_end_setting.js...

6 lines
426 B
Plaintext
Raw Normal View History

2013-01-21 08:56:37 +00:00
<% if show_default_widget_setting_panel %>
$('#frontend_setting').html("<%= j render :partial => 'admin/page_parts/default_widget_style_panel',:locals=>{:object=>@item} %>");
$('#frontend_setting').append("<%= j render :partial => 'admin/page_parts/default_widget_setting',:locals=>{:object=>@item} %>");
2013-01-21 08:56:37 +00:00
<% else %>
$('#frontend_setting').html("<%= j render :partial => 'custom_frontend_setting' %>");
<% end %>