From 586c0607b55bd801701d8c18732d19419ad1c884 Mon Sep 17 00:00:00 2001 From: Jono Brandel Date: Sun, 8 Jun 2014 17:58:47 -0700 Subject: [PATCH] Make onFinishChange after getValue --- src/dat/controllers/FunctionController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dat/controllers/FunctionController.js b/src/dat/controllers/FunctionController.js index dd3c93d..e7748cc 100644 --- a/src/dat/controllers/FunctionController.js +++ b/src/dat/controllers/FunctionController.js @@ -60,10 +60,10 @@ define([ if (this.__onChange) { this.__onChange.call(this); } + this.getValue().call(this.object); if (this.__onFinishChange) { this.__onFinishChange.call(this, this.getValue()); } - this.getValue().call(this.object); } } @@ -71,4 +71,4 @@ define([ return FunctionController; -}); \ No newline at end of file +});