summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/mobile/RadioButton.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/dojo/dojox/mobile/RadioButton.js')
-rw-r--r--js/dojo/dojox/mobile/RadioButton.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/js/dojo/dojox/mobile/RadioButton.js b/js/dojo/dojox/mobile/RadioButton.js
new file mode 100644
index 0000000..c02f768
--- /dev/null
+++ b/js/dojo/dojox/mobile/RadioButton.js
@@ -0,0 +1,21 @@
+//>>built
+define("dojox/mobile/RadioButton", [
+ "dojo/_base/declare",
+ "dijit/form/_RadioButtonMixin",
+ "./CheckBox"
+], function(declare, RadioButtonMixin, CheckBox){
+ /*=====
+ CheckBox = dojox.mobile.CheckBox;
+ RadioButtonMixin = dijit.form._RadioButtonMixin;
+ =====*/
+ return declare("dojox.mobile.RadioButton", [CheckBox, RadioButtonMixin], {
+ // summary:
+ // A non-templated radiobutton widget that can be in two states (checked or not).
+
+ // Override automatic assigning type --> node, it causes exception on IE8.
+ // Instead, type must be specified as this.type when the node is created, as part of the original DOM
+ _setTypeAttr: null,
+
+ baseClass: "mblRadioButton"
+ });
+});