mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05: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) ->
|
||||
delete @attributesWithDefaults
|
||||
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
|
||||
@saveBackup() if @saveBackups and (not inFlux) and @hasLocalChanges()
|
||||
res
|
||||
|
|
Loading…
Reference in a new issue