Sha256: 63ec5e983154ba2548e439b12aadf3c534d105092ac8574b92befccbdc9ef125
Contents?: true
Size: 951 Bytes
Versions: 14
Compression:
Stored size: 951 Bytes
Contents
<% if @resource_options[:layout] == :table list_id = "#div_#{@resource_options[:item_name]}_index" elsif @resource_options[:layout] == :feed list_id = "#div_#{@resource_options[:item_name]}_list" end %> // Close Modal if it is opened <% if @resource_options[:show_model_size] == "generic" %> closeGenericModal(); <% elsif @resource_options[:show_model_size] == "large" %> closeLargeModal(); <% end %> <% if @r_objects.any? %> <% if @row_partial_locals && @row_partial_locals.is_a?(Hash) && !@row_partial_locals.empty? locals = @row_partial_locals else locals = {} end %> // Refresh the list $("<%= list_id %>").html("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/index", locals: locals)) %>"); <% else %> var noResultsText = "<%= escape_javascript(theme_panel_message(I18n.translate('success.no_results_found')))%>"; $("<%= list_id %>").html(noResultsText); <% end %>
Version data entries
14 entries across 14 versions & 2 rubygems