diff options
Diffstat (limited to 'js/controllers')
-rw-r--r-- | js/controllers/objects-controller.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/controllers/objects-controller.js b/js/controllers/objects-controller.js index 651cf356..2ce10e82 100644 --- a/js/controllers/objects-controller.js +++ b/js/controllers/objects-controller.js | |||
@@ -69,6 +69,8 @@ var objectsController = exports.ObjectsController = Montage.create(Component, { | |||
69 | value: function(bindingArgs) { | 69 | value: function(bindingArgs) { |
70 | if(!bindingArgs) { return; } | 70 | if(!bindingArgs) { return; } |
71 | 71 | ||
72 | |||
73 | |||
72 | Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath); | 74 | Object.deleteBinding(bindingArgs.sourceObject, bindingArgs.sourceObjectPropertyPath); |
73 | } | 75 | } |
74 | }, | 76 | }, |
@@ -177,7 +179,7 @@ var objectsController = exports.ObjectsController = Montage.create(Component, { | |||
177 | return this._currentObject; | 179 | return this._currentObject; |
178 | }, | 180 | }, |
179 | set: function(value) { | 181 | set: function(value) { |
180 | if(value === this._currentObject) { return; } | 182 | //if(value === this._currentObject) { return; } |
181 | 183 | ||
182 | if(value) { | 184 | if(value) { |
183 | this.currentObjectBindings = this.getObjectBindings(value); | 185 | this.currentObjectBindings = this.getObjectBindings(value); |