/**
* init.js
*
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* Grabs the text from the SquirrelMail field and submits it to
* the squirrelspell.
*
- * $Id$
+ * @copyright 2001-2021 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
*/
/**
function sqspell_init(flag){
textToSpell = opener.document.compose.subject.value + "\n" + opener.document.compose.body.value;
document.forms[0].sqspell_text.value = textToSpell;
- if (flag) document.compose.submit();
-}
+ if (flag) document.forms[0].submit();
+}
\ No newline at end of file