mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 03:23:42 -05:00
Fixed models thinking they've got changes when they don't.
This commit is contained in:
parent
90c97008ae
commit
afc14e593d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue