Sha256: 3c0009aec317cdbf5d2b18e0c5e3c16d47bf0a3326db060ea65358223279300b
Contents?: true
Size: 838 Bytes
Versions: 33
Compression:
Stored size: 838 Bytes
Contents
<% if @r_object %> // Show the details in the large modal var heading = "<%= raw @r_object.try(:display_name) %>"; var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/show")) %>"; showLargeModal(heading, bodyContent, false); // Updating the edited row and highlighting it $('#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>').replaceWith("<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/row", locals: { @resource_options[:item_name].to_sym => @r_object, i: -1})) %>"); $("#tr_<%= @resource_options[:item_name] %>_<%= @r_object.id %>").css("background-color", "#fffddd"); <% else %> // Showing Growl Like Message notifyError("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(raw(@notification[:message])) %>"); <% end %>
Version data entries
33 entries across 33 versions & 1 rubygems