X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fjs%2Fcrypto_settings.js;h=a60696e8911071fdc8f2fbf9b5fec9b03d53d588;hp=f5dfd2fede057a46d320ecb413a5608d7ce16566;hb=0c961f1d177204be0e5f2d2f797c47092b10ffd1;hpb=d4e2e61a41bce2be1b005ecdd41f64cc60016f64 diff --git a/plugins/squirrelspell/js/crypto_settings.js b/plugins/squirrelspell/js/crypto_settings.js index f5dfd2fe..a60696e8 100644 --- a/plugins/squirrelspell/js/crypto_settings.js +++ b/plugins/squirrelspell/js/crypto_settings.js @@ -4,7 +4,7 @@ * Some client-side checks. Nothing fancy. * * @author Konstantin Riabitsev - * @copyright © 2001-2006 The SquirrelMail Project Team + * @copyright © 2001-2007 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 +}