Sha256: 26e57c6c0496bc028bc1487f2a2de9c7cbb5963b3a1f2268063a3ef7b0c2a03e
Contents?: true
Size: 1.01 KB
Versions: 26
Compression:
Stored size: 1.01 KB
Contents
<% if @resource_options[:layout] == :table item_id = "#tr_#{@resource_options[:item_name]}_#{@r_object.id}" elsif @resource_options[:layout] == :feed item_id = "#div_#{@resource_options[:item_name]}_#{@r_object.id}" end %> <% if @destroyed %> // Removing the item from the list $("<%= item_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
26 entries across 26 versions & 2 rubygems