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.58 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.57 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.56 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.55 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.54 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.53 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.52 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.51 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.50 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.49 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.48 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.47 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.46 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.45 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.44 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.43 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.42 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.41 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.40 app/views/phocoder/thumbnail_update.js.erb
phocoder-rails-0.0.39 app/views/phocoder/thumbnail_update.js.erb