source: main/trunk/greenstone3/web/interfaces/default_new/js/ckeditor/plugins/preview/preview.html@ 29852

Last change on this file since 29852 was 29852, checked in by Georgiy Litvinov, 9 years ago

Ckeditor integration commit

File size: 259 bytes
Line 
1<script>
2
3// Prevent from DOM clobbering.
4if ( 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.