X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fa11yhelp%2Fdialogs%2Fa11yhelp.js;h=c82e22b4d181f9af7b0be5b641cf7752005bb704;hb=refs%2Ftags%2Fv3.6.6;hp=3348f931371f9495b476f20d11a095e82c7d8873;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/plugins/a11yhelp/dialogs/a11yhelp.js b/_source/plugins/a11yhelp/dialogs/a11yhelp.js index 3348f93..c82e22b 100644 --- a/_source/plugins/a11yhelp/dialogs/a11yhelp.js +++ b/_source/plugins/a11yhelp/dialogs/a11yhelp.js @@ -1,12 +1,12 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'a11yHelp', function( editor ) { var lang = editor.lang.accessibilityHelp, - id = CKEDITOR.tools.getNextNumber(); + id = CKEDITOR.tools.getNextId(); // CharCode <-> KeyChar. var keyMap = @@ -125,8 +125,8 @@ CKEDITOR.dialog.add( 'a11yHelp', function( editor ) // Create the help list directly from lang file entries. function buildHelpContents() { - var pageTpl = '
%1
' + - '' + lang.contents + ' ', + var pageTpl = '
%1
' + + '' + lang.contents + ' ', sectionTpl = '

%1

%2
', itemTpl = '
%1
%2
'; @@ -170,6 +170,7 @@ CKEDITOR.dialog.add( 'a11yHelp', function( editor ) { type : 'html', id : 'legends', + style : 'white-space:normal;', focus : function() {}, html : buildHelpContents() + ''