Fixed models thinking they've got changes when they don't.

This commit is contained in:
Scott Erickson 2014-05-29 10:48:48 -07:00
parent 90c97008ae
commit afc14e593d

View file

@ -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