aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/binding/binding-item.reel/binding-item.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/panels/binding/binding-item.reel/binding-item.js b/js/panels/binding/binding-item.reel/binding-item.js
index 2dad2aaf..a1017020 100644
--- a/js/panels/binding/binding-item.reel/binding-item.js
+++ b/js/panels/binding/binding-item.reel/binding-item.js
@@ -88,11 +88,13 @@ exports.BindingItem = Montage.create(Component, {
88 88
89 handleDirectionToggleButtonAction : { 89 handleDirectionToggleButtonAction : {
90 value: function(e) { 90 value: function(e) {
91 var controller = this.application.ninja.objectsController;
92
91 this.oneway = !this.oneway; 93 this.oneway = !this.oneway;
92 this.application.ninja.objectsController.editBinding(this.bindingArgs, { 94 controller.editBinding(this.bindingArgs, {
93 oneway: !this.bindingArgs.oneway 95 oneway: !this.bindingArgs.oneway
94 }); 96 });
95 this.application.ninja.objectsController. 97 controller.currentItem = controller.currentItem;
96 } 98 }
97 }, 99 },
98 100