Sha256: 3483b378617b77a11eec503fd99e421d1681b909333d724f12403f51acc8d126

Contents?: true

Size: 654 Bytes

Versions: 18

Compression:

Stored size: 654 Bytes

Contents

// Close Modal if it is opened
closeGenericModal();

<% 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
  $('#div_<%= @resource_options[:item_name] %>_index').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')))%>";
  $('#div_<%= @resource_options[:item_name] %>_index').html(noResultsText);

<% end %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
kuppayam-0.2.12.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.11.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.10.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.9.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.8.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.7.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.6.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.5.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.4.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.3.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.2.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.1.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.2.0.pre.materialize app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.1.39 app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.1.38 app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.1.37 app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.1.36 app/views/kuppayam/workflows/parrot/index.js.erb
kuppayam-0.1.35 app/views/kuppayam/workflows/parrot/index.js.erb