X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fpanel%2Fplugin.js;h=07c9c71c50c3af87a76d02342b2f6b3f50ab6b39;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=603fc25bd8ee66decfa7607a16517854dbb8e173;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_source/plugins/panel/plugin.js b/_source/plugins/panel/plugin.js index 603fc25..07c9c71 100644 --- a/_source/plugins/panel/plugin.js +++ b/_source/plugins/panel/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, 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( '