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
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
<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>
|
||||
|
|
|
@ -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;'>"
|
||||
|
|
Loading…
Reference in New Issue