aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-28 15:48:31 -0700
committerArmen Kesablyan2012-06-28 15:48:31 -0700
commitcd563af62e937f49406caca55549cd72b13ee228 (patch)
tree343fa0fd8ec4ab628e5c781ee9c8687426de4285
parent0aea7c15ebee0b0e9d51c2ca4b7eeec598227af1 (diff)
downloadninja-cd563af62e937f49406caca55549cd72b13ee228.tar.gz
Binding View - Multi document bug : cleared object bindings when current document is changed
Signed-off-by: Armen Kesablyan <armen@motorola.com>
-rw-r--r--js/controllers/objects-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/objects-controller.js b/js/controllers/objects-controller.js
index f6d400f4..6ca869ba 100644
--- a/js/controllers/objects-controller.js
+++ b/js/controllers/objects-controller.js
@@ -27,7 +27,7 @@ var objectsController = exports.ObjectsController = Montage.create(Montage, {
27 setTimeout(function() { 27 setTimeout(function() {
28 this.bindToModelObjects(); 28 this.bindToModelObjects();
29 }.bind(this), 1000); 29 }.bind(this), 1000);
30 30 this.currentObjectBindings = [];
31 this._currentDocument = doc; 31 this._currentDocument = doc;
32 }, 32 },
33 enumerable : false 33 enumerable : false