Sha256: 8d5d667c68e49a6ae17d297d3cb22b500f8b02e2f6c4495ad66df804ee89d319
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 KB
Contents
<% if @resource_options[:layout] == :table %> <% row_id = "#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>" %> <% elsif @resource_options[:layout] == :feed %> <% row_id = "#div_<%= @resource_options[:item_name] %>_<%= @r_object.id %>" %> <% end %> <% if @destroyed %> // Removing the item from the list $("<%= row_id %>").remove(); // Closing the modal if it is opened <% if @resource_options[:show_model_size] == :generic %> closeGenericModal(); <% elsif @resource_options[:show_model_size] == :large %> closeLargeModal(); <% end %> // Showing Growl Like Message notifySuccess("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(@notification[:message]) %>"); <% else %> // Show the error in a modal showMessageModal("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(@notification[:message]) %>"); // Showing Growl Like Message notifyError("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(@notification[:message]) %>"); <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems