Index: _whatsnew.html
===================================================================
--- _whatsnew.html (wersja 2502)
+++ _whatsnew.html (kopia robocza)
@@ -46,6 +46,8 @@
Fixed Bugs:
+ - [#2381] Protected the editor
+ from duplicate iframes
- [#2333] The >
character inside text wasn't encoded in Opera and Safari.
- [#2467] Fixed JavaScript
Index: fckeditor.js
===================================================================
--- fckeditor.js (wersja 2502)
+++ fckeditor.js (kopia robocza)
@@ -106,6 +106,8 @@
FCKeditor.prototype.ReplaceTextarea = function()
{
+ if ( document.getElementById( this.InstanceName + '___Frame' ) )
+ return ;
if ( !this.CheckBrowser || this._IsCompatibleBrowser() )
{
// We must check the elements firstly using the Id and then the name.