fixing misplaced apostrophe
[koha_fer] / koha-tmpl / intranet-tmpl / prog / fr / js / tinymce / jscripts / tiny_mce / plugins / paste / jscripts / pastetext.js
1 function saveContent() {\r
2         if (document.forms[0].htmlSource.value == '') {\r
3                 tinyMCEPopup.close();\r
4                 return false;\r
5         }\r
6 \r
7         tinyMCEPopup.execCommand('mcePasteText', false, {\r
8                 html : document.forms[0].htmlSource.value,\r
9                 linebreaks : document.forms[0].linebreaks.checked\r
10         });\r
11 \r
12         tinyMCEPopup.close();\r
13 }\r
14 \r
15 function onLoadInit() {\r
16         tinyMCEPopup.resizeToInnerSize();\r
17 \r
18         // Remove Gecko spellchecking\r
19         if (tinyMCE.isGecko)\r
20                 document.body.spellcheck = tinyMCE.getParam("gecko_spellcheck");\r
21 \r
22         resizeInputs();\r
23 }\r
24 \r
25 var wHeight=0, wWidth=0, owHeight=0, owWidth=0;\r
26 \r
27 function resizeInputs() {\r
28         if (!tinyMCE.isMSIE) {\r
29                 wHeight = self.innerHeight-80;\r
30                 wWidth = self.innerWidth-17;\r
31         } else {\r
32                 wHeight = document.body.clientHeight-80;\r
33                 wWidth = document.body.clientWidth-17;\r
34         }\r
35 \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
38 }\r