X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fpanel%2Fplugin.js;h=7b542b321c4290852cac29a3dd94d0c6cdaee3cc;hp=ec682a622d9256984b2499db1d700ab37670caaf;hb=941b0a9ba4e673e292510d80a5a86806994b8ea6;hpb=8761695d9b70afe75905deaac88f78c1f8aeb32d diff --git a/_source/plugins/panel/plugin.js b/_source/plugins/panel/plugin.js index ec682a6..7b542b3 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-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -160,7 +160,7 @@ CKEDITOR.ui.panel.prototype = // It looks strange, but for FF2, the styles must go // after , so it (body) becames immediatelly // available. (#3031) - '' + + CKEDITOR.tools.buildStyleHtml( this.css ) + '<\/html>' ); doc.$.close(); @@ -230,6 +230,11 @@ CKEDITOR.ui.panel.prototype = block.show(); return block; + }, + + destroy : function() + { + this.element && this.element.remove(); } };