/**\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
'<a id="{id}_option" _cke_focus=1 hidefocus=true' +\r
' title="{title}"' +\r
' href="javascript:void(\'{val}\')" ' +\r
- ' {onclick}="CKEDITOR.tools.callFunction({clickFn},\'{val}\'); return false;"' + // #188\r
+ ' {onclick}="CKEDITOR.tools.callFunction({clickFn},\'{val}\'); return false;"' + // http://dev.ckeditor.com/ticket/188\r
' role="option">' +\r
'{text}' +\r
'</a>' +\r
keys[ 38 ] = 'prev'; // ARROW-UP\r
keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB\r
keys[ 32 ] = CKEDITOR.env.ie ? 'mouseup' : 'click'; // SPACE\r
- CKEDITOR.env.ie && ( keys[ 13 ] = 'mouseup' ); // Manage ENTER, since onclick is blocked in IE (#8041).\r
+ CKEDITOR.env.ie && ( keys[ 13 ] = 'mouseup' ); // Manage ENTER, since onclick is blocked in IE (http://dev.ckeditor.com/ticket/8041).\r
\r
this._.pendingHtml = [];\r
this._.pendingList = [];\r
this.onMark && this.onMark( item );\r
},\r
\r
+ markFirstDisplayed: function() {\r
+ var context = this;\r
+ this._.markFirstDisplayed( function() {\r
+ if ( !context.multiSelect )\r
+ context.unmarkAll();\r
+ } );\r
+ },\r
+\r
unmark: function( value ) {\r
var doc = this.element.getDocument(),\r
itemId = this._.items[ value ],\r