+{**************************************************************************}\r
+{* *}\r
+{* Copyright (C) 2003-2007 Polytechnique.org *}\r
+{* http://opensource.polytechnique.org/ *}\r
+{* *}\r
+{* This program is free software; you can redistribute it and/or modify *}\r
+{* it under the terms of the GNU General Public License as published by *}\r
+{* the Free Software Foundation; either version 2 of the License, or *}\r
+{* (at your option) any later version. *}\r
+{* *}\r
+{* This program is distributed in the hope that it will be useful, *}\r
+{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}\r
+{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}\r
+{* GNU General Public License for more details. *}\r
+{* *}\r
+{* You should have received a copy of the GNU General Public License *}\r
+{* along with this program; if not, write to the Free Software *}\r
+{* Foundation, Inc., *}\r
+{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}\r
+{* *}\r
+{**************************************************************************}\r
+\r
+<script type="text/javascript">//<![CDATA[\r
+{literal}\r
+var edited=false;\r
+\r
+function cleanContent()\r
+{\r
+ if (edited == false) {\r
+ var field = document.getElementById('flyspray_detail');\r
+ field.value = '';\r
+ field.style.color = "black";\r
+ field.style.textAlign = "left";\r
+ }\r
+}\r
+\r
+function fillContent()\r
+{\r
+ var field = document.getElementById('flyspray_detail');\r
+ if (field.value == '' || (field.value.toUpperCase() == field.value && field.value.toLowerCase() == field.value)) {\r
+ field.value = "** Explique ici le problème ou l'amélioration proposée **";\r
+ field.style.color = "gray";\r
+ field.style.textAlign = "center";\r
+ edited = false;\r
+ } else {\r
+ edited = true;\r
+ }\r
+}\r
+{/literal}\r
+//]]></script>\r
+\r