Sha256: 8e937085ef5055889efad7027e62666591d86c712b3ea7b6eeb9c78d31a07e00

Contents?: true

Size: 556 Bytes

Versions: 28

Compression:

Stored size: 556 Bytes

Contents

$('#picture_to_assign_<%= @picture.id %> a').attr('href', '#').off('click');
$('#<%= @content.dom_id -%>').replaceWith('<%= j(
  render(
    "alchemy/essences/essence_picture_editor",
    content: @content,
    options: @options
  )
) %>');

<% if @content.siblings.essence_pictures.count > 1 %>

Alchemy.SortableContents('#<%= @content.element.id -%>_contents', '<%= form_authenticity_token %>');

<% end %>

Alchemy.closeCurrentDialog();
Alchemy.setElementDirty('#element_<%= @content.element.id %>');
Alchemy.watchForDialogs('#<%= @content.dom_id %>');

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.2.1 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/essence_pictures/assign.js.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/essence_pictures/assign.js.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/essence_pictures/assign.js.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/essence_pictures/assign.js.erb