Sha256: fa90c8d24f7aaaf420152d0c6c7bef815119ba3c535678dc1e67542a2a49c9d3

Contents?: true

Size: 695 Bytes

Versions: 9

Compression:

Stored size: 695 Bytes

Contents

<% if @destroyed %>
  
  $(".<%= @id %>-large-image").attr("src", "/assets/kuppayam/defaults/default-large.png");
  $(".<%= @id %>-small-image").attr("src", "/assets/kuppayam/defaults/default-small.png");

  // 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

9 entries across 9 versions & 1 rubygems

Version Path
kuppayam-0.1.15 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.14 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.13 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.12 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.11 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.10 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.8 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.7 app/views/kuppayam/images/destroy.js.erb
kuppayam-0.1.6dev2 app/views/kuppayam/images/destroy.js.erb