aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-23 14:26:30 -0700
committerArmen Kesablyan2012-06-23 14:26:30 -0700
commitbb663f4361e1fdb74d440c0e4a98edfcabfcda81 (patch)
tree89573b4d94c601e5a4e114db5e5e88ed8fac26e8 /js
parent24c6741d594b9d4167cd4de407a625eb43ebe7cc (diff)
downloadninja-bb663f4361e1fdb74d440c0e4a98edfcabfcda81.tar.gz
Binding Panel - Can Now Edit and Delete Bindings
Bug Description: Binding Arguments that are passed in the edit form were being set to null after it was set. Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/panels/binding/edit-binding-view.reel/edit-binding-view.js4
1 files changed, 2 insertions, 2 deletions
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 46fe9681..1a7faedd 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
@@ -142,11 +142,11 @@ var editBindingView = exports.EditBindingView = Montage.create(Component, {
142 set: function(value) { 142 set: function(value) {
143 if(value === this._bindingArgs) { return; } 143 if(value === this._bindingArgs) { return; }
144 144
145 this._bindingArgs = value;
146
147 // clear form values 145 // clear form values
148 this.clearForm(); 146 this.clearForm();
149 147
148 this._bindingArgs = value;
149
150 if(value) { 150 if(value) {
151 // set up hints for hintable components 151 // set up hints for hintable components
152 this.objectIdentifiers = this.getObjectIdentifiers(); 152 this.objectIdentifiers = this.getObjectIdentifiers();