diff --git a/app/models/CocoModel.coffee b/app/models/CocoModel.coffee index add8b5600..3a8838b65 100644 --- a/app/models/CocoModel.coffee +++ b/app/models/CocoModel.coffee @@ -107,7 +107,7 @@ class CocoModel extends Backbone.Model storage.remove @id hasLocalChanges: -> - not _.isEqual @attributes, @_revertAttributes + @_revertAttributes and not _.isEqual @attributes, @_revertAttributes cloneNewMinorVersion: -> newData = _.clone @attributes