JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.3
[ckeditor.git] / _source / plugins / listblock / plugin.js
index 63f85c7..fc11e57 100644 (file)
@@ -81,7 +81,7 @@ CKEDITOR.plugins.add( 'listblock',
                                        add : function( value, html, title )\r
                                        {\r
                                                var pendingHtml = this._.pendingHtml,\r
-                                                       id = 'cke_' + CKEDITOR.tools.getNextNumber();\r
+                                                       id = CKEDITOR.tools.getNextId();\r
 \r
                                                if ( !this._.started )\r
                                                {\r
@@ -93,7 +93,7 @@ CKEDITOR.plugins.add( 'listblock',
                                                this._.items[ value ] = id;\r
 \r
                                                pendingHtml.push(\r
-                                                       '<li id=', id, ' class=cke_panel_listItem>' +\r
+                                                       '<li id=', id, ' class=cke_panel_listItem role=presentation>' +\r
                                                                '<a id="', id, '_option" _cke_focus=1 hidefocus=true' +\r
                                                                        ' title="', title || value, '"' +\r
                                                                        ' href="javascript:void(\'', value, '\')"' +\r
@@ -109,7 +109,7 @@ CKEDITOR.plugins.add( 'listblock',
                                        {\r
                                                this._.close();\r
 \r
-                                               var id = 'cke_' + CKEDITOR.tools.getNextNumber();\r
+                                               var id = CKEDITOR.tools.getNextId();\r
 \r
                                                this._.groups[ title ] = id;\r
 \r