app/views/alchemy/admin/pages/update.js.erb in alchemy_cms-6.0.0.pre.rc5 vs app/views/alchemy/admin/pages/update.js.erb in alchemy_cms-6.0.0.pre.rc6
- old
+ new
@@ -1,12 +1,7 @@
(function() {
var page = document.querySelector('#page_<%= @page.id %>');
-<% if @old_page_layout != @page.page_layout -%>
- Alchemy.ElementsWindow.reload();
- Alchemy.growl('<%= j Alchemy.t(:page_layout_changed_notice) %>');
-<% end -%>
-
<% if @while_page_edit -%>
Alchemy.reloadPreview();
document.querySelector('#page_<%= @page.id %>_status').outerHTML = '<%= j render("current_page", current_page: @page) %>';
Alchemy.growl("<%= j @notice %>");