summaryrefslogtreecommitdiff
path: root/lib/dijit/RadioMenuItem.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-21 21:59:17 +0300
committerAndrew Dolgov <[email protected]>2017-01-21 21:59:17 +0300
commite2e2479984b3aaadb4c0947e5ec15276e5c9a337 (patch)
tree1662c1772cbcb6e44d017cea28e35d45de44921f /lib/dijit/RadioMenuItem.js
parentab235fc5f13385a690a1ed31ae77d0006c85197d (diff)
parent1c4f5e83900fdd71a84f2e142c694c75106bef53 (diff)
Merge branch 'dojo-1.12.1'
Conflicts: js/prefs.js
Diffstat (limited to 'lib/dijit/RadioMenuItem.js')
-rw-r--r--lib/dijit/RadioMenuItem.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dijit/RadioMenuItem.js b/lib/dijit/RadioMenuItem.js
new file mode 100644
index 000000000..ed236dde4
--- /dev/null
+++ b/lib/dijit/RadioMenuItem.js
@@ -0,0 +1,2 @@
+//>>built
+define("dijit/RadioMenuItem",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/query!css2","./CheckedMenuItem","./registry"],function(_1,_2,_3,_4,_5,_6){return _2("dijit.RadioButtonMenuItem",_5,{baseClass:"dijitMenuItem dijitRadioMenuItem",role:"menuitemradio",checkedChar:"*",group:"",_setGroupAttr:"domNode",_setCheckedAttr:function(_7){this.inherited(arguments);if(!this._created){return;}if(_7&&this.group){_1.forEach(this._getRelatedWidgets(),function(_8){if(_8!=this&&_8.checked){_8.set("checked",false);}},this);}},_onClick:function(_9){if(!this.disabled&&!this.checked){this.set("checked",true);this.onChange(true);}this.onClick(_9);},_getRelatedWidgets:function(){var _a=[];_4("[group="+this.group+"][role="+this.role+"]").forEach(function(_b){var _c=_6.getEnclosingWidget(_b);if(_c){_a.push(_c);}});return _a;}});}); \ No newline at end of file