diff options
author | Nivesh Rajbhandari | 2012-03-20 11:18:07 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-20 11:18:07 -0700 |
commit | 634358d2697d9668bb9406ac7a029aafae542285 (patch) | |
tree | b6c35ce69c667f3ee8c16cc5e9a86021a4646288 /js/panels/properties.reel/sections/custom.reel | |
parent | 17cf4470b54cc6014f23f982d1a644a045cccb04 (diff) | |
download | ninja-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-x | js/panels/properties.reel/sections/custom.reel/custom.js | 2 |
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; |