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:
parent
d85f29e65c
commit
7ebfe3a7f9
|
@ -19,9 +19,9 @@
|
||||||
<%= render 'devise/menu/login_items' %>
|
<%= render 'devise/menu/login_items' %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="back_content">
|
<div id="back_content">
|
||||||
<div id="back_sidebar"><%= yield :sidebar %></div>
|
<div id="back_sidebar"><%= yield :sidebar %></div>
|
||||||
<div class="main"><div class="main2">
|
<div class="main"><div id='back_main' class="main2">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</div></div>
|
</div></div>
|
||||||
<div class="tertiary"><%= yield :tertiary %></div>
|
<div class="tertiary"><%= yield :tertiary %></div>
|
||||||
|
|
|
@ -84,7 +84,7 @@ module ParserBackEnd
|
||||||
c.define_tag 'content' do |tag|
|
c.define_tag 'content' do |tag|
|
||||||
ret = ''
|
ret = ''
|
||||||
if (tag.attributes["main"] == "true" && !page.module_app.nil?)
|
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
|
else
|
||||||
part = page.page_parts.detect{ |p| p.name.to_s == tag.attr['name'].to_s }
|
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;'>"
|
ret << "<div id='#{tag.attr['name']}' part_id='#{part.id}' class='editable' style='border:solid 1px; margin:5px; padding:5px;'>"
|
||||||
|
|
Loading…
Reference in New Issue