X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fjs%2Finit.js;h=66875a06c4c10aa6da3830610a4e5e47a422d2b9;hp=628816d769f76ce7e80ab4d8b699a99bf75288d8;hb=4b4abf93a9624311afef0c385023724ee46a2b60;hpb=145dc7aa9346d0fd8eeed8840f677e76364f63ee diff --git a/plugins/squirrelspell/js/init.js b/plugins/squirrelspell/js/init.js index 628816d7..66875a06 100644 --- a/plugins/squirrelspell/js/init.js +++ b/plugins/squirrelspell/js/init.js @@ -1,13 +1,12 @@ /** * 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-2005 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ */ /** @@ -21,5 +20,5 @@ 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