aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/binding')
-rw-r--r--js/panels/binding/edit-binding-view.reel/edit-binding-view.html11
-rw-r--r--js/panels/binding/edit-binding-view.reel/edit-binding-view.js6
2 files changed, 15 insertions, 2 deletions
diff --git a/js/panels/binding/edit-binding-view.reel/edit-binding-view.html b/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
index 0bd3cf32..67d06132 100644
--- a/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
+++ b/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
@@ -95,11 +95,18 @@
95 "directionCheckbox": { 95 "directionCheckbox": {
96 "prototype": "montage/ui/native/input-checkbox.reel", 96 "prototype": "montage/ui/native/input-checkbox.reel",
97 "properties": { 97 "properties": {
98 "element": {"#": "direction-checkbox"} 98 "element": {"#": "direction-checkbox"},
99 "identifier": "directionCheckbox"
99 }, 100 },
100 "bindings": { 101 "bindings": {
101 "checked": {"<-": "@owner.oneway"} 102 "checked": {"<-": "@owner.oneway"}
102 } 103 },
104 "listeners" : [
105 {
106 "type": "action",
107 "listener": {"@": "owner"}
108 }
109 ]
103 }, 110 },
104 "cancelButton" : { 111 "cancelButton" : {
105 "prototype": "montage/ui/native/button.reel", 112 "prototype": "montage/ui/native/button.reel",
diff --git a/js/panels/binding/edit-binding-view.reel/edit-binding-view.js b/js/panels/binding/edit-binding-view.reel/edit-binding-view.js
index 1a7faedd..4b20f74a 100644
--- a/js/panels/binding/edit-binding-view.reel/edit-binding-view.js
+++ b/js/panels/binding/edit-binding-view.reel/edit-binding-view.js
@@ -262,6 +262,12 @@ var editBindingView = exports.EditBindingView = Montage.create(Component, {
262 } 262 }
263 }, 263 },
264 264
265 handleDirectionCheckboxAction : {
266 value: function(e) {
267 this.dirty = true;
268 }
269 },
270
265 271
266 /* ------------------- 272 /* -------------------
267 Dirty handler 273 Dirty handler