/**\r
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\r
* For licensing, see LICENSE.md or http://ckeditor.com/license\r
*/\r
\r
template +=\r
' onkeydown="return CKEDITOR.tools.callFunction({keydownFn},event,this);"' +\r
' onfocus="return CKEDITOR.tools.callFunction({focusFn},event);" ' +\r
- ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // #188\r
+ ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // http://dev.ckeditor.com/ticket/188\r
'="CKEDITOR.tools.callFunction({clickFn},this);return false;">' +\r
'<span id="{id}_text" class="cke_combo_text cke_combo_inlinelabel">{label}</span>' +\r
'<span class="cke_combo_open">' +\r
};\r
\r
function updateState() {\r
- // Don't change state while richcombo is active (#11793).\r
+ // Don't change state while richcombo is active (http://dev.ckeditor.com/ticket/11793).\r
if ( this.getState() == CKEDITOR.TRISTATE_ON )\r
return;\r
\r
\r
var keystroke = ev.getKeystroke();\r
\r
- // ARROW-DOWN\r
- // This call is duplicated in plugins/toolbar/plugin.js in itemKeystroke().\r
- // Move focus to the first element after drop down was opened by the arrow down key.\r
- if ( keystroke == 40 ) {\r
- editor.once( 'panelShow', function( evt ) {\r
- evt.data._.panel._.currentBlock.onKeyDown( 40 );\r
- } );\r
- }\r
-\r
switch ( keystroke ) {\r
case 13: // ENTER\r
case 32: // SPACE\r
\r
if ( me.onOpen )\r
me.onOpen();\r
-\r
- // The "panelShow" event is fired assinchronously, after the\r
- // onShow method call.\r
- editor.once( 'panelShow', function() {\r
- list.focus( !list.multiSelect && me.getValue() );\r
- } );\r
};\r
\r
panel.onHide = function( preventOnClose ) {\r