Sha256: a45b9cc0e66fdecd4f8688fd9da75bf6ff6cdb054ca531e9cc41cc5daa873dbf
Contents?: true
Size: 1020 Bytes
Versions: 14
Compression:
Stored size: 1020 Bytes
Contents
<% header_id = "#div_#{@resource_options[:item_name]}_header" list_id = "#div_#{@resource_options[:item_name]}_list" %> // 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)) %>"); // Refresh the Header $("<%= header_id %>").html("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/header", 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 & 1 rubygems