X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fcolordialog%2Fdialogs%2Fcolordialog.js;h=4454d196dc14a3a0c46203ae3ae66b4974c8df55;hp=3259e7f28d7ee8a2355c782141c2b7392702f86e;hb=e371ddf8abcb89013e20e6d0dd746adec344d0e5;hpb=055b6b0792ce7dc53d47af606b367c04b927c2ab diff --git a/_source/plugins/colordialog/dialogs/colordialog.js b/_source/plugins/colordialog/dialogs/colordialog.js index 3259e7f..4454d19 100644 --- a/_source/plugins/colordialog/dialogs/colordialog.js +++ b/_source/plugins/colordialog/dialogs/colordialog.js @@ -243,11 +243,12 @@ CKEDITOR.dialog.add( 'colordialog', function( editor ) var numbering = function( id ) { - return id + CKEDITOR.tools.getNextNumber(); + return CKEDITOR.tools.getNextId() + '_' + id; }, hicolorId = numbering( 'hicolor' ), hicolorTextId = numbering( 'hicolortext' ), - selHiColorId = numbering( 'selhicolor' ); + selHiColorId = numbering( 'selhicolor' ), + tableLabelId = numbering( 'color_table_label' ); return { title : lang.title, @@ -273,8 +274,8 @@ CKEDITOR.dialog.add( 'colordialog', function( editor ) [ { type : 'html', - html : '' + table.getHtml() + '
' + - '' + lang.options +'', + html : '' + table.getHtml() + '
' + + '' + lang.options +'', onLoad : function() { var table = CKEDITOR.document.getById( this.domId );