Sha256: bf6d83143885e508802b611344cb75e1c9eb085a6dcaf56781470178851acb19

Contents?: true

Size: 377 Bytes

Versions: 26

Compression:

Stored size: 377 Bytes

Contents

<% if ActsAsPhocodable.javascript_library == 'prototype' %>
  
  $("<%= @img.class.to_s %>_<%= @img.id.to_s %>_<%= @random %>").replace("<%=  escape_javascript(render(:partial=>"thumbnail_update"))  %>")

<% else %>
  
  $('#<%= @img.class.to_s %>_<%= @img.id.to_s %>_<%= @random %>').replaceWith("<%=  escape_javascript(render(:partial=>"thumbnail_update"))  %>")
  
<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
phocoder-rails-0.0.38 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.37 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.36 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.35 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.34 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.33 app/views/phocoder/thumbnail_update.js.erb