Fix these bugs:

1.結構部份
    a.原選單,點選編輯,無動作反應
    b.新增選單後,左邊灰色架構部份不會更新

  2.檔案室
    a.無法編輯分類
This commit is contained in:
chris committed 2012-11-15 15:51:44 +08:00
1 parent 9095713769
commit 9b1ada0af9
9 files changed
+11 -23

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<%= flash_messages %>
<%#= flash_messages %>
<div id="poststuff">
<h1><%= t('editing.page') %></h1>
<%= form_for @item, :url => admin_page_path(@item), :html => { :class => 'form-horizontal edit_page' } do |f| %>
+1 -1
View File
@@ -1,4 +1,4 @@
<%= flash_messages %>
<%#= flash_messages %>
<div id="poststuff">
<h1><%= t('new.page') %></h1>
<%= form_for @item, :url => admin_pages_path, :html => { :class => 'form-horizontal edit_page' } do |f| %>
+1 -1
View File
@@ -1,4 +1,4 @@
<%= flash_messages %>
<%#= flash_messages %>
<%= page_stylesheets(@item, true).html_safe %>
+1 -1
View File
@@ -1,3 +1,3 @@
$('#back_sidebar').html("<%= escape_javascript(render(:partial => 'admin/items/site_map_left_bar')) %>");
$('#back_main').html("<%= escape_javascript(render(:partial => 'admin/pages/show')) %>");
$('#back_sidebar').html("<%= escape_javascript(render(:partial => 'admin/items/site_map_left_bar')) %>");
history.pushState(null, document.title, "<%= escape_javascript(admin_page_url(@item)) %>");
+1
View File
@@ -1,2 +1,3 @@
$('#back_main').html("<%= escape_javascript(render(:partial => 'admin/pages/show')) %>");
$('#back_sidebar').html("<%= escape_javascript(render(:partial => 'admin/items/site_map_left_bar')) %>");
history.pushState(null, document.title, "<%= escape_javascript(admin_page_url(@item)) %>");