]> git.wh0rd.org - tt-rss.git/blobdiff - lib/dijit/form/templates/ComboButton.html
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
[tt-rss.git] / lib / dijit / form / templates / ComboButton.html
index 1ffe2ec89abe3cb17d632b009dee5c9fab09028d..51d5746e3ae3c8e4a21cd50eb87013e3e012cd7a 100644 (file)
@@ -1,7 +1,7 @@
 <table class="dijit dijitReset dijitInline dijitLeft"
        cellspacing='0' cellpadding='0' role="presentation"
        ><tbody role="presentation"><tr role="presentation"
-               ><td class="dijitReset dijitStretch dijitButtonNode" data-dojo-attach-point="buttonNode" data-dojo-attach-event="ondijitclick:_onClick,onkeypress:_onButtonKeyPress"
+               ><td class="dijitReset dijitStretch dijitButtonNode" data-dojo-attach-point="buttonNode" data-dojo-attach-event="ondijitclick:__onClick,onkeydown:_onButtonKeyDown"
                ><div id="${id}_button" class="dijitReset dijitButtonContents"
                        data-dojo-attach-point="titleNode"
                        role="button" aria-labelledby="${id}_label"
                ></td
                ><td id="${id}_arrow" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'
                        data-dojo-attach-point="_popupStateNode,focusNode,_buttonNode"
-                       data-dojo-attach-event="onkeypress:_onArrowKeyPress"
+                       data-dojo-attach-event="onkeydown:_onArrowKeyDown"
                        title="${optionsTitle}"
                        role="button" aria-haspopup="true"
                        ><div class="dijitReset dijitArrowButtonInner" role="presentation"></div
                        ><div class="dijitReset dijitArrowButtonChar" role="presentation">&#9660;</div
                ></td
                ><td style="display:none !important;"
-                       ><input ${!nameAttrSetting} type="${type}" value="${value}" data-dojo-attach-point="valueNode" role="presentation"
+                       ><input ${!nameAttrSetting} type="${type}" value="${value}" data-dojo-attach-point="valueNode"
+                               class="dijitOffScreen" aria-hidden="true" data-dojo-attach-event="onclick:_onClick"
                /></td></tr></tbody
 ></table>