Merge pull request #223 from frisoft/master
Method missing "disable_parent_editable_elements" for nil
This commit is contained in:
commit
791c5f9d43
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user