diff options
author | Armen Kesablyan | 2012-06-28 15:48:31 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-28 15:48:31 -0700 |
commit | cd563af62e937f49406caca55549cd72b13ee228 (patch) | |
tree | 343fa0fd8ec4ab628e5c781ee9c8687426de4285 /js | |
parent | 0aea7c15ebee0b0e9d51c2ca4b7eeec598227af1 (diff) | |
download | ninja-cd563af62e937f49406caca55549cd72b13ee228.tar.gz |
Binding View - Multi document bug : cleared object bindings when current document is changed
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/controllers/objects-controller.js | 2 |
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 |