JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2.2
[ckeditor.git] / _source / plugins / templates / dialogs / templates.js
index af04e55..d3d78c6 100644 (file)
@@ -146,6 +146,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
                        var listContainer;\r
 \r
+                       var templateListLabelId = 'cke_tpl_list_label_' + CKEDITOR.tools.getNextNumber();\r
                        return {\r
                                title :editor.lang.templates.title,\r
 \r
@@ -176,10 +177,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                                type : 'html',\r
                                                                                focus: true,\r
                                                                                html :\r
-                                                                                       '<div class="cke_tpl_list" tabIndex="-1" role="listbox" aria-labelledby="cke_tpl_list_label">' +\r
+                                                                                       '<div class="cke_tpl_list" tabIndex="-1" role="listbox" aria-labelledby="' + templateListLabelId+ '">' +\r
                                                                                                '<div class="cke_tpl_loading"><span></span></div>' +\r
                                                                                        '</div>' +\r
-                                                                                       '<span class="cke_voice_label" id="cke_tpl_list_label">' + editor.lang.templates.options+ '</span>'\r
+                                                                                       '<span class="cke_voice_label" id="' + templateListLabelId + '">' + editor.lang.templates.options+ '</span>'\r
                                                                        },\r
                                                                        {\r
                                                                                id : 'chkInsertOpt',\r