Sha256: 2829631d0f1628d20f7e7e7020f94578a625dfad6a35f29ac67c4b28fe17c65e

Contents?: true

Size: 508 Bytes

Versions: 25

Compression:

Stored size: 508 Bytes

Contents

$('#element_<%= @element.id %>').hide(200, function() {
  $(this).remove();
  Alchemy.growl('<%= j _t("Element trashed") %>');
  $('#element_area .sortable_cell').sortable('refresh');
  Alchemy.TrashWindow.refresh();
  $('#element_trash_button .icon').addClass('full');
  Alchemy.PreviewWindow.refresh();
  <% @element.contents.essence_richtexts.each do |content| %>
  tinymce.get('contents_content_<%= content.id %>_body').remove();
  <% end %>
  <%= update_essence_select_elements(@page, @element) -%>
});

Version data entries

25 entries across 25 versions & 2 rubygems

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