diff options
Diffstat (limited to 'js/panels/binding/binding-item.reel')
-rw-r--r-- | js/panels/binding/binding-item.reel/binding-item.html | 1 | ||||
-rw-r--r-- | js/panels/binding/binding-item.reel/binding-item.js | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/js/panels/binding/binding-item.reel/binding-item.html b/js/panels/binding/binding-item.reel/binding-item.html index 79644a7a..95a349f8 100644 --- a/js/panels/binding/binding-item.reel/binding-item.html +++ b/js/panels/binding/binding-item.reel/binding-item.html | |||
@@ -14,6 +14,7 @@ | |||
14 | "prototype": "js/panels/binding/binding-item.reel", | 14 | "prototype": "js/panels/binding/binding-item.reel", |
15 | "properties": { | 15 | "properties": { |
16 | "element": {"#": "binding-item"}, | 16 | "element": {"#": "binding-item"}, |
17 | "editButton": {"@": "editButton" }, | ||
17 | "directionToggleButton": {"@": "directionToggleButton" } | 18 | "directionToggleButton": {"@": "directionToggleButton" } |
18 | } | 19 | } |
19 | }, | 20 | }, |
diff --git a/js/panels/binding/binding-item.reel/binding-item.js b/js/panels/binding/binding-item.reel/binding-item.js index 0fc06ea8..294e8d35 100644 --- a/js/panels/binding/binding-item.reel/binding-item.js +++ b/js/panels/binding/binding-item.reel/binding-item.js | |||
@@ -82,6 +82,12 @@ exports.BindingItem = Montage.create(Component, { | |||
82 | } | 82 | } |
83 | }, | 83 | }, |
84 | 84 | ||
85 | handleEditButtonAction : { | ||
86 | value: function(e) { | ||
87 | this.parentComponent.parentComponent.displayEditView(); | ||
88 | } | ||
89 | }, | ||
90 | |||
85 | /* -------------- Component Draw Cycle -------------- */ | 91 | /* -------------- Component Draw Cycle -------------- */ |
86 | 92 | ||
87 | templateDidLoad : { | 93 | templateDidLoad : { |