Page form with front end style

This commit is contained in:
chris committed 2013-10-28 16:29:23 +08:00
1 parent 2f41828abd
commit 42d0afe65c
11 files changed
+214 -194

No files matched your search

+1
View File
@@ -0,0 +1 @@
$("#pageslide #page_error").html("<%= j @error %>");
-6
View File
@@ -1,6 +0,0 @@
<% if @error %>
$("#pageslide #page_error").html("<%= j @error %>");
<% else %>
$("#<%= @item.id.to_s %>").html("<%= j render 'admin/items/node_and_children', node: @item %>");
reloadStructure();
<% end %>