Sha256: 1860a76d1ef5142a0c52df36ed5a940629ee1746f452ce95c6194a0788ffd849
Contents?: true
Size: 840 Bytes
Versions: 26
Compression:
Stored size: 840 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")) %>"; showGenericModal(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
26 entries across 26 versions & 1 rubygems