Fix on previous commit
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Jul 2003 13:23:44 +0000 (13:23 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Jul 2003 13:23:44 +0000 (13:23 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5369 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/squirrelspell/js/init.js

index 628816d..fffd250 100644 (file)
@@ -21,5 +21,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();
 }