Happy New Year
[squirrelmail.git] / plugins / squirrelspell / js / crypto_settings.js
index 68e374764b50c721dec565947179f874a82242c3..29ee6c8d7b53051516620c3f8958a3e903a7152f 100644 (file)
@@ -4,7 +4,7 @@
  * Some client-side checks. Nothing fancy.
  *
  * @author Konstantin Riabitsev <icon at duke.edu>
- * @copyright &copy; 2001-2005 The SquirrelMail Project Team
+ * @copyright 2001-2020 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  */
@@ -18,9 +18,9 @@ function checkMe(){
     alert (ui_makesel);
     return false;
   }
-  if (document.forms[0].action.value=="encrypt")
+  if (document.forms[0].encaction.value=="encrypt")
     cmsg=ui_encrypt;
-  if (document.forms[0].action.value=="decrypt")
+  if (document.forms[0].encaction.value=="decrypt")
     cmsg=ui_decrypt;
   return confirm(cmsg);
-}
\ No newline at end of file
+}