1 function saveContent() {
2 if (document.forms[0].htmlSource.value == '') {
7 tinyMCEPopup.execCommand('mcePasteText', false, {
8 html : document.forms[0].htmlSource.value,
9 linebreaks : document.forms[0].linebreaks.checked
15 function onLoadInit() {
16 tinyMCEPopup.resizeToInnerSize();
21 var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
23 function resizeInputs() {
24 if (!tinyMCE.isMSIE) {
25 wHeight = self.innerHeight-80;
26 wWidth = self.innerWidth-17;
28 wHeight = document.body.clientHeight-80;
29 wWidth = document.body.clientWidth-17;
32 document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px';
33 document.forms[0].htmlSource.style.width = Math.abs(wWidth) + 'px';