aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorEric Guzman2012-06-13 19:06:35 -0700
committerEric Guzman2012-06-13 19:06:35 -0700
commit98c6f4c449587addbeebb805ae0d15c4fe956f4f (patch)
tree15ed280d472bbf055ed36026186397cb3eab1202 /js/controllers
parentd2e2a39feeba51e976d139eddf6f1cf331457f4f (diff)
downloadninja-98c6f4c449587addbeebb805ae0d15c4fe956f4f.tar.gz
Objects Controller - Fix call to get current object bindings after add/removing binding
Diffstat (limited to 'js/controllers')
-rw-r--r--js/controllers/objects-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/controllers/objects-controller.js b/js/controllers/objects-controller.js
index 386ef683..877f7f9f 100644
--- a/js/controllers/objects-controller.js
+++ b/js/controllers/objects-controller.js
@@ -66,7 +66,7 @@ var objectsController = exports.ObjectsController = Montage.create(Component, {
66 if(!bindingArgs.sourceObject || !bindingArgs.sourceObjectPropertyPath || !bindingArgs) { return; } 66 if(!bindingArgs.sourceObject || !bindingArgs.sourceObjectPropertyPath || !bindingArgs) { return; }
67 67
68 Object.defineBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath, bindingArgs); 68 Object.defineBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath, bindingArgs);
69 this.currentObjectBindings = this.getObjectBindings(value); 69 this.currentObjectBindings = this.getObjectBindings(bindingArgs.sourceObject);
70 } 70 }
71 }, 71 },
72 72
@@ -77,7 +77,7 @@ var objectsController = exports.ObjectsController = Montage.create(Component, {
77 77
78 78
79 Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath); 79 Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath);
80 this.currentObjectBindings = this.getObjectBindings(value); 80 this.currentObjectBindings = this.getObjectBindings(bindingArgs.sourceObject);
81 } 81 }
82 }, 82 },
83 83