aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/radio-button.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-08 13:56:09 -0800
committerValerio Virgillito2012-03-08 13:56:09 -0800
commit22a66cb6e243a3f1c867b62e3942fd2e828019d9 (patch)
tree4b2f8bf0d8306964f35435dac3d1f6592b3dee19 /node_modules/montage/ui/radio-button.reel
parentcef07085443b7c31e878daaad083b7408c57e104 (diff)
downloadninja-22a66cb6e243a3f1c867b62e3942fd2e828019d9.tar.gz
integrating v0.7 montage into ninja
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/radio-button.reel')
-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,