Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
14fc4bf12d
@ -104,6 +104,7 @@ class ContentInstance
|
|||||||
def set_visibility
|
def set_visibility
|
||||||
field = self.content_type.content_custom_fields.detect { |f| %w{visible active}.include?(f._alias) }
|
field = self.content_type.content_custom_fields.detect { |f| %w{visible active}.include?(f._alias) }
|
||||||
self._visible = self.send(field._name) rescue true
|
self._visible = self.send(field._name) rescue true
|
||||||
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_to_list_bottom
|
def add_to_list_bottom
|
||||||
|
Loading…
Reference in New Issue
Block a user