Sha256: 2f37a8ed9abe6ce00456c446da5623dde5eb0f50752dbbc35f88eca283686662
Contents?: true
Size: 785 Bytes
Versions: 38
Compression:
Stored size: 785 Bytes
Contents
(function() { var $picture_editor; $('#essence_picture_<%= @content_id -%>').remove(); <% if max_image_count.present? && @essence_pictures.length < max_image_count.to_i %> $picture_editor = $('#element_<%= @element.id -%>_contents'); if ($('div.add_picture', $picture_editor).length === 0) { $('#element_<%= @element.id -%>_contents').append('<%= escape_javascript( render( :partial => "alchemy/admin/elements/add_picture", :locals => { :element => @element, :options => @options } ) ) %>'); } <% end %> Alchemy.SortableContents('#element_<%= @element.id -%>_contents', '<%= form_authenticity_token -%>'); Alchemy.reloadPreview(); Alchemy.pleaseWaitOverlay(false); })()
Version data entries
38 entries across 38 versions & 1 rubygems