Sha256: 7c2931c83f08f452f72210c901d5898cbe6ffbf0b50b407bd213a926f707ac39

Contents?: true

Size: 407 Bytes

Versions: 28

Compression:

Stored size: 407 Bytes

Contents

$('#locked_page_<%= @page_id %>').remove();

<% if @layoutpage -%>

window.location.href = '<%= alchemy.admin_layoutpages_path %>';

<% elsif @page_root -%>

$('#sitemap').replaceWith('<%= j render("sitemap") %>');
Alchemy.growl('<%= j @message %>');
Alchemy.watchForDialogs('#sitemap');

<% else -%>

window.location.href = '<%= alchemy.admin_pages_path %>';

<% end -%>

Alchemy.pleaseWaitOverlay(false);

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/pages/destroy.js.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/pages/destroy.js.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/pages/destroy.js.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/pages/destroy.js.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/pages/destroy.js.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/pages/destroy.js.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/pages/destroy.js.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/pages/destroy.js.erb