diff options
author | Eric Guzman | 2012-06-08 15:57:57 -0700 |
---|---|---|
committer | Eric Guzman | 2012-06-08 15:57:57 -0700 |
commit | af1c0007fffa3e9db6d11949a9ddec4bd697ee69 (patch) | |
tree | efc131f0d4ca74f15de88ba9784f5bfef8beac4e | |
parent | 99f14c2998760a0d871745d41c6e3419c8137d91 (diff) | |
download | ninja-af1c0007fffa3e9db6d11949a9ddec4bd697ee69.tar.gz |
Binding Panel - supply binding args to edit view
-rw-r--r-- | js/panels/binding/binding-item.reel/binding-item.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/panels/binding/binding-item.reel/binding-item.js b/js/panels/binding/binding-item.reel/binding-item.js index 55230fc3..a2b66008 100644 --- a/js/panels/binding/binding-item.reel/binding-item.js +++ b/js/panels/binding/binding-item.reel/binding-item.js | |||
@@ -12,6 +12,10 @@ exports.BindingItem = Montage.create(Component, { | |||
12 | sourceObjectLabel : { value: null }, | 12 | sourceObjectLabel : { value: null }, |
13 | boundObjectLabel : { value: null }, | 13 | boundObjectLabel : { value: null }, |
14 | 14 | ||
15 | bindingArgs : { | ||
16 | value: null | ||
17 | }, | ||
18 | |||
15 | _sourceObject : { value: null }, | 19 | _sourceObject : { value: null }, |
16 | sourceObject : { | 20 | sourceObject : { |
17 | get: function() { | 21 | get: function() { |
@@ -88,7 +92,7 @@ exports.BindingItem = Montage.create(Component, { | |||
88 | 92 | ||
89 | handleEditButtonAction : { | 93 | handleEditButtonAction : { |
90 | value: function(e) { | 94 | value: function(e) { |
91 | this.parentComponent.parentComponent.displayEditView(); | 95 | this.parentComponent.parentComponent.displayEditView(this.bindingArgs); |
92 | } | 96 | } |
93 | }, | 97 | }, |
94 | 98 | ||