Sha256: e3279d9dcfe64239719e63290eac30382d2da210fadcc41122ffb450da5dd0f6
Contents?: true
Size: 569 Bytes
Versions: 7
Compression:
Stored size: 569 Bytes
Contents
(function($) { $('#<%= content_dom_id(@content) -%>').replaceWith('<%= escape_javascript( render( :partial => "alchemy/essences/essence_picture_editor", :locals => {:content => @content, :options => params[:options] || {}} ) ) -%>'); Alchemy.growl('<%= t("Image updated successfully") -%>'); Alchemy.ImageCropper.destroy(); Alchemy.closeCurrentWindow(); Alchemy.reloadPreview(); <%- if @content.element.all_contents_by_type("Alchemy::EssencePicture").count > 1 -%> Alchemy.SortableContents('<%= form_authenticity_token -%>'); <%- end -%> })(jQuery);
Version data entries
7 entries across 7 versions & 1 rubygems