Sha256: 41c02d2b4b470650bb9e427c89cc2ae8dbf14367ea1b24782827d69c21601a7c

Contents?: true

Size: 506 Bytes

Versions: 9

Compression:

Stored size: 506 Bytes

Contents

(function($) {

  $('#element_<%= @element.id -%>').hide(200, function() {
    $(this).remove();
    Alchemy.growl('<%= escape_javascript(t("Element trashed")) -%>');
    $('#element_area').sortable('refresh');
    Alchemy.refreshTrashWindow(<%= @page_id -%>);
    $('#element_trash_button .icon').addClass('full');
    Alchemy.PreviewWindow.refresh();
  <%- @element.rtf_contents.each do |content| -%>
    tinymce.get('contents_content_<%= content.id -%>_body').remove();
  <%- end -%>
  });

})(jQuery);

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.2.rc14 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc13 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc11 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc8 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc7 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc6 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc3 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc2 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.2.rc1 app/views/alchemy/admin/elements/trash.js.erb