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

6 lines
178 B
Plaintext
Raw Normal View History

2012-12-03 10:52:36 +00:00
<% if @widget_style.nil? %>
$('#widget_style_list select').html("")
<% else %>
$('#widget_style_list select').html("<%= j options_for_select(@widget_style) %>")
<% end %>