Sha256: 696b1c87591d29631c78c1cf88fc85d2dc83060133292e234b52f1c739f95fb7

Contents?: true

Size: 490 Bytes

Versions: 8

Compression:

Stored size: 490 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

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-2.1.12 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.1.11 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.1.9.1 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.1.9 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.1.8.1 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.1.8 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.1.7 app/views/alchemy/admin/elements/trash.js.erb
alchemy_cms-2.1.6 app/views/alchemy/admin/elements/trash.js.erb