Sha256: 93bbad027e94db7a6f812a674ab6eeee21e949f54e660b75c43f0648aff577b8

Contents?: true

Size: 363 Bytes

Versions: 58

Compression:

Stored size: 363 Bytes

Contents

$('#element_<%= @element.id %>').hide(200, function() {
  $(this).remove();
  Alchemy.growl('<%= j @notice %>');
  $('#element_area .sortable-elements').sortable('refresh');
  Alchemy.PreviewWindow.refresh();
  Alchemy.Tinymce.remove(<%= @richtext_ids.to_json %>);
  <% if @element.fixed? %>
  Alchemy.FixedElements.removeTab(<%= @element.id %>);
  <% end %>
});

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
alchemy_cms-7.0.16 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.15 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.14 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.13 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.12 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.11 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.10 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.9 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.8 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.7 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.6 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.5 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.4 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.3 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.2 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/elements/destroy.js.erb
alchemy_cms-7.0.1 app/views/alchemy/admin/elements/destroy.js.erb