Sha256: 2a2b5f85e38ac840564efa10dd1f3707f98a4e5ef36a02f17c634c4d9ae3ee7c

Contents?: true

Size: 425 Bytes

Versions: 26

Compression:

Stored size: 425 Bytes

Contents

$('#element_<%= @element.id %>').hide(200, function() {
  $(this).remove();
  Alchemy.growl('<%= j Alchemy.t("Element trashed") %>');
  $('#element_area .sortable_cell').sortable('refresh');
  Alchemy.TrashWindow.refresh();
  $('#element_trash_button .icon').addClass('full');
  Alchemy.PreviewWindow.refresh();
  <% @element.richtext_contents_ids.each do |id| %>
  tinymce.get('tinymce_<%= id %>').remove();
  <% end %>
});

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.1.2 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.1.1 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.1.0 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.1.0.rc1 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.1.0.beta app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/elements/trash.js.erb