Sha256: 5818808ea7724d9f80dd8fc7c46a6d9a150c5241a9da0b88215bd782d544bcad

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

<% if @asset.errors.empty? %>
new_elem = $('<%=j render(:partial => "picture", :locals => { :picture =>  @asset }) %>')
new_elem.hide()
$("#photos .thumbnails").prepend(new_elem)
$("#photos .counter").text('<%= @asset.class.count %>').effect("highlight", {}, 1000)
new_elem.fadeIn('slow')
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fullstack-ckeditor-0.1.4 app/views/admin/ckeditor/pictures/create.js.coffee
fullstack-ckeditor-0.1.3 app/views/admin/ckeditor/pictures/create.js.coffee