aboutsummaryrefslogtreecommitdiff
path: root/js/panels/properties.reel/sections/custom.reel
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-20 11:18:07 -0700
committerNivesh Rajbhandari2012-03-20 11:18:07 -0700
commit634358d2697d9668bb9406ac7a029aafae542285 (patch)
treeb6c35ce69c667f3ee8c16cc5e9a86021a4646288 /js/panels/properties.reel/sections/custom.reel
parent17cf4470b54cc6014f23f982d1a644a045cccb04 (diff)
downloadninja-634358d2697d9668bb9406ac7a029aafae542285.tar.gz
Button's enabled property binding should be oneway only.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/panels/properties.reel/sections/custom.reel')
-rwxr-xr-xjs/panels/properties.reel/sections/custom.reel/custom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/properties.reel/sections/custom.reel/custom.js b/js/panels/properties.reel/sections/custom.reel/custom.js
index d7334afe..703ef950 100755
--- a/js/panels/properties.reel/sections/custom.reel/custom.js
+++ b/js/panels/properties.reel/sections/custom.reel/custom.js
@@ -382,7 +382,7 @@ exports.CustomSection = Montage.create(Component, {
382 Object.defineBinding(obj, "enabled", { 382 Object.defineBinding(obj, "enabled", {
383 boundObject: this.controls, 383 boundObject: this.controls,
384 boundObjectPropertyPath: aField.enabled.boundProperty, 384 boundObjectPropertyPath: aField.enabled.boundProperty,
385 oneway: false 385 oneway: true
386 }); 386 });
387 } else { 387 } else {
388 obj.enabled = aField.enabled; 388 obj.enabled = aField.enabled;