source:
main/trunk/greenstone3/web/interfaces/default/js/ckeditor/plugins/preview/preview.html@
29861
Last change on this file since 29861 was 29861, checked in by , 9 years ago | |
---|---|
File size: 259 bytes |
Rev | Line | |
---|---|---|
[29852] | 1 | <script> |
2 | ||
3 | // Prevent from DOM clobbering. | |
4 | if ( typeof window.opener._cke_htmlToLoad == 'string' ) { | |
5 | var doc = document; | |
6 | doc.open(); | |
7 | doc.write( window.opener._cke_htmlToLoad ); | |
8 | doc.close(); | |
9 | ||
10 | delete window.opener._cke_htmlToLoad; | |
11 | } | |
12 | ||
13 | </script> |
Note:
See TracBrowser
for help on using the repository browser.