Sha256: ac61dd3467e54c4decc7060772129308c84414a8adaca173fbf967731dd26f7e
Contents?: true
Size: 586 Bytes
Versions: 7
Compression:
Stored size: 586 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