app/views/alchemy/admin/pages/_sitemap.html.erb in alchemy_cms-3.5.0 vs app/views/alchemy/admin/pages/_sitemap.html.erb in alchemy_cms-3.6.0
- old
+ new
@@ -20,13 +20,13 @@
url: '<%= alchemy.tree_admin_pages_path %>',
page_root_id: <%= @page_root.id %>,
full: <%= full %>
<% if @sorting %>
,ready: function () {
- Alchemy.PageSorter.init();
+ Alchemy.PageSorter();
}
<% elsif action_name == 'link' %>
- ,spinner: Alchemy.Spinner.small(),
+ ,spinner: new Alchemy.Spinner('small'),
ready: function () {
if (Alchemy.currentDialog()) {
Alchemy.currentDialog().attachTreeEvents();
}
}