Bugfix in snippets with block and editable_elements.

This commit is contained in:
Andrea Frigido 2011-09-27 09:01:55 +02:00
parent ce24270948
commit d5534a4a2b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module Locomotive
super
if !self.contains_super?(@nodelist) # then disable all editable_elements coming from the parent block too and not used
@context[:page].disable_parent_editable_elements(@name)
@context[:page].disable_parent_editable_elements(@name) unless @context[:page].nil?
end
end