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 storage.remove @id
hasLocalChanges: -> hasLocalChanges: ->
not _.isEqual @attributes, @_revertAttributes @_revertAttributes and not _.isEqual @attributes, @_revertAttributes
cloneNewMinorVersion: -> cloneNewMinorVersion: ->
newData = _.clone @attributes newData = _.clone @attributes