#2892: Opera 9.62 bug
---------------------+------------------------------------------------------
Reporter: hulud | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
This bug happens after several reloads and postbacks (ASP.Net)
Here is Opera Error report:
Error:
name: TypeError
message: Statement on line 36: Cannot convert undefined or null to Object
Backtrace:
Line 36 of linked script
http://localhost/HCA/Files/FCKEditor/editor/js/fckeditorcode_gecko.js
function (A){return A.ownerDocument||A.document;}
Line 44 of linked script
http://localhost/HCA/Files/FCKEditor/editor/js/fckeditorcode_gecko.js
function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?'nbsp':'#160');var
D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject('DOMDocument');this.MainNode=this.XML.appendChild(this.XML.createElement('xhtml'));FCKXHtml.CurrentJobNum++;if
(B) this._AppendNode(this.MainNode,A);else
this._AppendChildNodes(this.MainNode,A,false);var
E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari)
E=E.replace(/^<xhtml.*?>/,'<xhtml>');E=E.substr(7,E.length-15).Trim();if
(FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType))
E=E.replace(FCKRegexLib.SpaceNoClose,'>');else
E=E.replace(FCKRegexLib.SpaceNoClose,' />');if
(FCKConfig.ForceSimpleAmpersand)
E=E.replace(FCKRegexLib.ForceSimpleAmpersand,'&');if (C)
E=FCKCodeFormatter.Format(E);for (var
i=0;i<FCKXHtml.SpecialBlocks.length;i++){var F=new
RegExp('___FCKsi___'+i);E=E.replace(F,FCKXHtml.SpecialBlocks[i]);};E=E.replace(FCKRegexLib.GeckoEntitiesMarker,'&');if
(!D)
FCK.ResetIsDirty();FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);return
E;}
Line 30 of linked script
http://localhost/HCA/Files/FCKEditor/editor/js/fckeditorcode_gecko.js
function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if
(C&&FCKRegexLib.EmptyOutParagraph.test(E)) return '';return E;}
Line 31 of linked script
http://localhost/HCA/Files/FCKEditor/editor/js/fckeditorcode_gecko.js
function(A){if (FCK.EditMode==1) return
FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if
(!B) return null;var C=FCKConfig.FullPage;var
D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if
(FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,'$1');if (C){if
(FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0)
D=FCK.DocTypeDeclaration+'\n'+D;if
(FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0)
D=FCK.XmlDeclaration+'\n'+D;};return FCKConfig.ProtectedSource.Revert(D);}
Line 31 of linked script
http://localhost/HCA/Files/FCKEditor/editor/js/fckeditorcode_gecko.js
function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if
(FCKConfig.HtmlEncodeOutput)
A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2892>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac