* Some client-side checks. Nothing fancy.
*
* @author Konstantin Riabitsev <icon at duke.edu>
- * @copyright © 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$
*/
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
+}