Merge remote-tracking branch 'origin/master'

This commit is contained in:
Mario Visic 2012-01-14 22:07:08 +10:30
commit 14fc4bf12d

View File

@ -104,6 +104,7 @@ class ContentInstance
def set_visibility
field = self.content_type.content_custom_fields.detect { |f| %w{visible active}.include?(f._alias) }
self._visible = self.send(field._name) rescue true
true
end
def add_to_list_bottom