fffd250e8d4029eaa885b6061b0d239be400aba9
4 * Copyright (c) 1999-2003 The SquirrelMail Project Team
5 * Licensed under the GNU GPL. For full terms see the file COPYING.
7 * Grabs the text from the SquirrelMail field and submits it to
14 * This is the work function.
16 * @param flag tells the function whether to automatically submit the
17 * form, or wait for user input. True submits the form, while
21 function sqspell_init(flag
){
22 textToSpell
= opener
.document
.compose
.subject
.value
+ "\n" + opener
.document
.compose
.body
.value
;
23 document
.forms
[0].sqspell_text
.value
= textToSpell
;
24 if (flag
) document
.forms
[0].submit();