diff options
Diffstat (limited to 'js/controllers')
-rw-r--r-- | js/controllers/objects-controller.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/controllers/objects-controller.js b/js/controllers/objects-controller.js index 7da70520..386ef683 100644 --- a/js/controllers/objects-controller.js +++ b/js/controllers/objects-controller.js | |||
@@ -66,6 +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 | } | 70 | } |
70 | }, | 71 | }, |
71 | 72 | ||
@@ -76,6 +77,7 @@ var objectsController = exports.ObjectsController = Montage.create(Component, { | |||
76 | 77 | ||
77 | 78 | ||
78 | Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath); | 79 | Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath); |
80 | this.currentObjectBindings = this.getObjectBindings(value); | ||
79 | } | 81 | } |
80 | }, | 82 | }, |
81 | 83 | ||
@@ -92,6 +94,7 @@ var objectsController = exports.ObjectsController = Montage.create(Component, { | |||
92 | } | 94 | } |
93 | 95 | ||
94 | this.addBinding(bindingArgs); | 96 | this.addBinding(bindingArgs); |
97 | |||
95 | } | 98 | } |
96 | }, | 99 | }, |
97 | 100 | ||