aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding/edit-binding-view.reel/edit-binding-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/binding/edit-binding-view.reel/edit-binding-view.js')
-rw-r--r--js/panels/binding/edit-binding-view.reel/edit-binding-view.js11
1 files changed, 11 insertions, 0 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 62a47aaf..8fd6a48e 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
@@ -65,6 +65,12 @@ var editBindingView = exports.EditBindingView = Montage.create(Component, {
65 65
66 this._sourceObject = value; 66 this._sourceObject = value;
67 67
68 if(value) {
69
70 this.sourceObjectPropertyPathField.hints = this.application.ninja.objectsController.getPropertiesFromObject(value);
71 console.log("Setting hints to: ", this.sourceObjectPropertyPathField.hints);
72 }
73
68 this.needsDraw = true; 74 this.needsDraw = true;
69 } 75 }
70 }, 76 },
@@ -77,6 +83,11 @@ var editBindingView = exports.EditBindingView = Montage.create(Component, {
77 console.log("Bound Object being set to ", value); 83 console.log("Bound Object being set to ", value);
78 this._boundObject = value; 84 this._boundObject = value;
79 85
86 if(value) {
87 this.boundObjectPropertyPathField.hints = this.application.ninja.objectsController.getPropertiesFromObject(value);
88 console.log("Setting hints to: ", this.boundObjectPropertyPathField.hints);
89 }
90
80 this.needsDraw = true; 91 this.needsDraw = true;
81 } 92 }
82 }, 93 },