diff options
author | Pushkar Joshi | 2012-03-12 15:26:10 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-03-12 15:26:10 -0700 |
commit | 46b2e561fa6ca054cad58e4c372a598bbb7ee2c9 (patch) | |
tree | 38d1c8666098a10078834c1eaac3d455135bee12 /node_modules/montage/ui/radio-button.reel/radio-button.js | |
parent | 7b4b068cadc0af8ec7e930e1c2b429e945f96984 (diff) | |
parent | 69d90467865a1384725b2301901be2180c5a841f (diff) | |
download | ninja-46b2e561fa6ca054cad58e4c372a598bbb7ee2c9.tar.gz |
Merge branch 'master' into brushtool
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, |