From bb663f4361e1fdb74d440c0e4a98edfcabfcda81 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Sat, 23 Jun 2012 14:26:30 -0700 Subject: 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 --- js/panels/binding/edit-binding-view.reel/edit-binding-view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/panels/binding') 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, { set: function(value) { if(value === this._bindingArgs) { return; } - this._bindingArgs = value; - // clear form values this.clearForm(); + this._bindingArgs = value; + if(value) { // set up hints for hintable components this.objectIdentifiers = this.getObjectIdentifiers(); -- cgit v1.2.3