Ticket #4357: 4357.patch
File 4357.patch, 1.2 KB (added by , 14 years ago) |
---|
-
editor/dialog/fck_paste.html
56 56 'javascript:void( (function(){' + 57 57 'document.open() ;' + 58 58 'document.domain=\'' + document.domain + '\' ;' + 59 'document.write(\'<html><head><scr ipt>window.onerror = function() { return true ; };<\/script><\/head><body><\/body><\/html>\') ;' +59 'document.write(\'<html><head><scr' + 'ipt>window.onerror = function() { return true ; };<\/script><\/head><body><\/body><\/html>\') ;' + 60 60 'document.close() ;' + 61 61 'document.body.contentEditable = true ;' + 62 62 'window.focus() ;' + … … 73 73 // Avoid errors if the pasted content has any script that fails: #389 74 74 var oDoc = oFrame.contentWindow.document ; 75 75 oDoc.open() ; 76 oDoc.write('<html><head><scr ipt>window.onerror = function() { return true ; };<\/script><\/head><body><\/body><\/html>') ;76 oDoc.write('<html><head><scr' + 'ipt>window.onerror = function() { return true ; };<\/script><\/head><body><\/body><\/html>') ; 77 77 oDoc.close() ; 78 78 79 79 if ( FCKBrowserInfo.IsIE )