Changeset 807
- Timestamp:
- 04/03/07 16:20:40 (6 years ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r797 r807 1839 1839 { 1840 1840 textarea.value = editor.outwardHtml(editor.getHTML()); 1841 var x = xinha.parentNode.replaceChild(textarea,xinha); 1842 // put it back into the page to let Xinha.collectGarbageForIE() do its work afterwards 1843 textarea.style.display = ""; 1844 x.style.display = 'none'; 1845 document.body.appendChild(x); 1841 if (!Xinha.is_ie) 1842 { 1843 xinha.parentNode.replaceChild(textarea,xinha); 1844 } 1846 1845 return true; 1847 1846 } … … 4139 4138 if ( !this.config.fullPage ) 4140 4139 { 4141 html = Xinha.getHTML(this._doc.body, false, this) ;4140 html = Xinha.getHTML(this._doc.body, false, this).trim(); 4142 4141 } 4143 4142 else … … 5983 5982 5984 5983 Xinha.init(); 5985 Xinha.addDom0Event(window,'unload',Xinha.collectGarbageForIE); 5986 5984 5985 if (Xinha.is_ie) 5986 { 5987 Xinha.addDom0Event(window,'unload',Xinha.collectGarbageForIE); 5988 } 5987 5989 Xinha.notImplemented = function(methodName) 5988 5990 {
