X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fa11yhelp%2Fdialogs%2Fa11yhelp.js;h=15bee48d4b00899a5b271b802acc3377f781d0f8;hb=fb481ba0a7d298e3e7b9034fcb9f2afdc6e8e796;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..15bee48 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-2012, 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() + ''