1 function saveContent() {
\r
2 if (document.forms[0].htmlSource.value == '') {
\r
3 tinyMCEPopup.close();
\r
7 tinyMCEPopup.execCommand('mcePasteText', false, {
\r
8 html : document.forms[0].htmlSource.value,
\r
9 linebreaks : document.forms[0].linebreaks.checked
\r
12 tinyMCEPopup.close();
\r
15 function onLoadInit() {
\r
16 tinyMCEPopup.resizeToInnerSize();
\r
18 // Remove Gecko spellchecking
\r
19 if (tinyMCE.isGecko)
\r
20 document.body.spellcheck = tinyMCE.getParam("gecko_spellcheck");
\r
25 var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
\r
27 function resizeInputs() {
\r
28 if (!tinyMCE.isMSIE) {
\r
29 wHeight = self.innerHeight-80;
\r
30 wWidth = self.innerWidth-17;
\r
32 wHeight = document.body.clientHeight-80;
\r
33 wWidth = document.body.clientWidth-17;
\r
36 document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px';
\r
37 document.forms[0].htmlSource.style.width = Math.abs(wWidth) + 'px';
\r