Merge pull request from dpen2000/Issue390

Fix 
This commit is contained in:
Nick Winter 2014-03-23 09:14:41 -07:00
commit 1789723d4d

View file

@ -86,7 +86,8 @@ class CocoModel extends Backbone.Model
res
markToRevert: ->
@_revertAttributes = _.clone @attributes
if @type() != 'ThangType'
@_revertAttributes = $.extend(true, {}, @attributes)
revert: ->
@set(@_revertAttributes, {silent: true}) if @_revertAttributes