Merge branch 'master' into rails_3_1

This commit is contained in:
Mario Visic 2011-11-27 21:17:58 +11:00
commit cecdfa4762

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