Add missing id in site_editor.html.erb and comment out in parser_back_end.rb because of a loading bug

This commit is contained in:
chris2tof 2011-12-29 18:08:08 +08:00
parent d85f29e65c
commit 7ebfe3a7f9
2 changed files with 12 additions and 12 deletions

View File

@ -19,9 +19,9 @@
<%= render 'devise/menu/login_items' %>
</div>
</div>
<div id="back_content">
<div id="back_content">
<div id="back_sidebar"><%= yield :sidebar %></div>
<div class="main"><div class="main2">
<div class="main"><div id='back_main' class="main2">
<%= yield %>
</div></div>
<div class="tertiary"><%= yield :tertiary %></div>

View File

@ -84,7 +84,7 @@ module ParserBackEnd
c.define_tag 'content' do |tag|
ret = ''
if (tag.attributes["main"] == "true" && !page.module_app.nil?)
ret << "<div id='appfrontend' class='dymanic_load' path='#{page.app_frontend_url}'></div>"
# ret << "<div id='appfrontend' class='dymanic_load' path='#{page.app_frontend_url}'></div>"
else
part = page.page_parts.detect{ |p| p.name.to_s == tag.attr['name'].to_s }
ret << "<div id='#{tag.attr['name']}' part_id='#{part.id}' class='editable' style='border:solid 1px; margin:5px; padding:5px;'>"