From ce38efc4120a0e87d49b1f44a689a34d6175c758 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 13 Apr 2015 15:03:45 +0200 Subject: [PATCH] Do not trigger change on refresh, compat. to spine 1.3.x and lower. --- app/assets/javascripts/app/lib/spine/spine.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/spine/spine.coffee b/app/assets/javascripts/app/lib/spine/spine.coffee index c3dcf577e..077065f73 100644 --- a/app/assets/javascripts/app/lib/spine/spine.coffee +++ b/app/assets/javascripts/app/lib/spine/spine.coffee @@ -416,7 +416,7 @@ class Model extends Module # go to the source and load attributes @constructor.irecords[@id].load(atts) @trigger('refresh', this) - @trigger('change', this, 'refresh') + #@trigger('change', this, 'refresh') # do not trigger change on refresh, compat. to spine 1.3.x and lower this toJSON: ->