aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/radio-button.reel/radio-button.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/ui/radio-button.reel/radio-button.js')
-rwxr-xr-xnode_modules/montage/ui/radio-button.reel/radio-button.js3
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});
99RadioButton.addAttributes({ 98RadioButton.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,