projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Happy New Year
[squirrelmail.git]
/
plugins
/
squirrelspell
/
js
/
init.js
diff --git
a/plugins/squirrelspell/js/init.js
b/plugins/squirrelspell/js/init.js
index a7448c31fe9e1d2419ba913a715fafc5abe1c14e..ea56cded99eec59749533d1830024dfeb1e426c5 100644
(file)
--- a/
plugins/squirrelspell/js/init.js
+++ b/
plugins/squirrelspell/js/init.js
@@
-1,13
+1,12
@@
/**
* init.js
/**
* init.js
- *
-------
+ *
* Grabs the text from the SquirrelMail field and submits it to
* the squirrelspell.
*
* Grabs the text from the SquirrelMail field and submits it to
* the squirrelspell.
*
- * $Id$
- *
- * @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
- * @version $Date$
+ * @copyright 2001-2021 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
*/
/**
*/
/**
@@
-19,7
+18,7
@@
* @return void
*/
function sqspell_init(flag){
* @return void
*/
function sqspell_init(flag){
- textToSpell = opener.document.
forms[0].subject.value + "\n" + opener.document.forms[0]
.body.value;
+ textToSpell = opener.document.
compose.subject.value + "\n" + opener.document.compose
.body.value;
document.forms[0].sqspell_text.value = textToSpell;
if (flag) document.forms[0].submit();
document.forms[0].sqspell_text.value = textToSpell;
if (flag) document.forms[0].submit();
-}
+}
\ No newline at end of file