1
0

Remove obsolete error msg

This commit is contained in:
Garvin Hicking
2008-08-27 11:32:29 +00:00
parent 1d2fe011f3
commit 80534cb91a

View File

@ -2310,13 +2310,13 @@ HTMLArea.htmlEncode = function(str) {
// getting innerHTML, using standard DOM calls. // getting innerHTML, using standard DOM calls.
// Wrapper catch a Mozilla-Exception with non well formed html source code // Wrapper catch a Mozilla-Exception with non well formed html source code
HTMLArea.getHTML = function(root, outputRoot, editor){ HTMLArea.getHTML = function(root, outputRoot, editor){
try{ // try{
return HTMLArea.getHTMLWrapper(root,outputRoot,editor); return HTMLArea.getHTMLWrapper(root,outputRoot,editor);
} // }
catch(e){ // catch(e){
alert('Your Document is not well formed. Check JavaScript console for details.'); // alert('Your Document is not well formed. Check JavaScript console for details.');
return editor._iframe.contentWindow.document.body.innerHTML; // return editor._iframe.contentWindow.document.body.innerHTML;
} // }
} }
HTMLArea.getHTMLWrapper = function(root, outputRoot, editor) { HTMLArea.getHTMLWrapper = function(root, outputRoot, editor) {