app/models/locomotive/editable_element.rb in locomotive_cms-2.4.1 vs app/models/locomotive/editable_element.rb in locomotive_cms-2.5.0.rc1

- old
+ new

@@ -32,9 +32,10 @@ !!self.disabled # the original method does not work quite well with the localization end def disabled_in_all_translations? return self.disabled_translations if self.disabled_translations.is_a?(Boolean) + return false if disabled_translations.blank? self.disabled_translations.all? { |_, v| v == true } end # Determines if the current element can be edited in the back-office #