mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-04 09:53:55 -04:00
Missed committing part of previous fix.
This commit is contained in:
parent
975c6ad2a6
commit
c1a7b70849
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class CocoModel extends Backbone.Model
|
||||||
set: (attributes, options) ->
|
set: (attributes, options) ->
|
||||||
delete @attributesWithDefaults
|
delete @attributesWithDefaults
|
||||||
inFlux = @loading or not @loaded
|
inFlux = @loading or not @loaded
|
||||||
@markToRevert() unless inFlux or @_revertAttributes or @project or options?.silent
|
@markToRevert() unless inFlux or @_revertAttributes or @project or options?.fromMerge
|
||||||
res = super attributes, options
|
res = super attributes, options
|
||||||
@saveBackup() if @saveBackups and (not inFlux) and @hasLocalChanges()
|
@saveBackup() if @saveBackups and (not inFlux) and @hasLocalChanges()
|
||||||
res
|
res
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue