X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fpanel%2Fplugin.js;h=cb0a615dcf294ec286d0fa73888ca9fa1e882796;hb=f0610347140239143439a511ee2bd48cb784f470;hp=7b542b321c4290852cac29a3dd94d0c6cdaee3cc;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/plugins/panel/plugin.js b/_source/plugins/panel/plugin.js index 7b542b3..cb0a615 100644 --- a/_source/plugins/panel/plugin.js +++ b/_source/plugins/panel/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -16,7 +16,7 @@ CKEDITOR.plugins.add( 'panel', * @constant * @example */ -CKEDITOR.UI_PANEL = 2; +CKEDITOR.UI_PANEL = 'panel'; CKEDITOR.ui.panel = function( document, definition ) { @@ -31,7 +31,7 @@ CKEDITOR.ui.panel = function( document, definition ) css : [] }); - this.id = CKEDITOR.tools.getNextNumber(); + this.id = CKEDITOR.tools.getNextId(); this.document = document; this._ = @@ -73,16 +73,18 @@ CKEDITOR.ui.panel.prototype = */ render : function( editor, output ) { - var id = 'cke_' + this.id; + var id = this.id; output.push( '