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
21 var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
\r
23 function resizeInputs() {
\r
24 if (!tinyMCE.isMSIE) {
\r
25 wHeight = self.innerHeight-80;
\r
26 wWidth = self.innerWidth-17;
\r
28 wHeight = document.body.clientHeight-80;
\r
29 wWidth = document.body.clientWidth-17;
\r
32 document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px';
\r
33 document.forms[0].htmlSource.style.width = Math.abs(wWidth) + 'px';
\r