diff options
author | Nivesh Rajbhandari | 2012-03-09 13:49:24 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-09 13:49:24 -0800 |
commit | a782acfbbf2d1ac5630c2cae5affcc369ba99785 (patch) | |
tree | c3a17caf06fce37a0c3a9054cd52b0f2f8ea844c /node_modules/montage/ui/radio-button.reel/radio-button.js | |
parent | e2562c3f24eb5dbfb9e3bd2868cdf1a2806644bf (diff) | |
parent | b4eb2f6cc1208fe5c18aa1f02a85adda25075d81 (diff) | |
download | ninja-a782acfbbf2d1ac5630c2cae5affcc369ba99785.tar.gz |
Merge branch 'refs/heads/ninja-internal' into WebGLFixes
Diffstat (limited to 'node_modules/montage/ui/radio-button.reel/radio-button.js')
-rwxr-xr-x | node_modules/montage/ui/radio-button.reel/radio-button.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/node_modules/montage/ui/radio-button.reel/radio-button.js b/node_modules/montage/ui/radio-button.reel/radio-button.js index 9fe43336..b6f87205 100755 --- a/node_modules/montage/ui/radio-button.reel/radio-button.js +++ b/node_modules/montage/ui/radio-button.reel/radio-button.js | |||
@@ -65,7 +65,6 @@ var RadioButton = exports.RadioButton = Montage.create(CheckInput, { | |||
65 | anEvent.initCustomEvent("checked", true, true, { | 65 | anEvent.initCustomEvent("checked", true, true, { |
66 | name: this.name | 66 | name: this.name |
67 | }); | 67 | }); |
68 | anEvent.type = "checked"; | ||
69 | RadioButton.dispatchEvent(anEvent); | 68 | RadioButton.dispatchEvent(anEvent); |
70 | RadioButton.addEventListener('checked', this); | 69 | RadioButton.addEventListener('checked', this); |
71 | } | 70 | } |
@@ -97,7 +96,7 @@ var RadioButton = exports.RadioButton = Montage.create(CheckInput, { | |||
97 | } | 96 | } |
98 | }); | 97 | }); |
99 | RadioButton.addAttributes({ | 98 | RadioButton.addAttributes({ |
100 | autofocus: 'off', // on/off | 99 | autofocus: {value: false, dataType: 'boolean'}, |
101 | disabled: {value: false, dataType: 'boolean'}, | 100 | disabled: {value: false, dataType: 'boolean'}, |
102 | checked: {value: false, dataType: 'boolean'}, | 101 | checked: {value: false, dataType: 'boolean'}, |
103 | form: null, | 102 | form: null, |