X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fsquirrelspell%2Fjs%2Fcrypto_settings.js;h=d6f8be92e6c5db7cceafe2c8e558d015bd0521da;hb=22387c8d44f3ab104db6e19180d3775a45762359;hp=604a7cf29a8f8b0f805ed0eeb1de6333d6e676b5;hpb=a8380e75f951c6915dba43505e94df50af6ea3cb;p=squirrelmail.git diff --git a/plugins/squirrelspell/js/crypto_settings.js b/plugins/squirrelspell/js/crypto_settings.js index 604a7cf2..d6f8be92 100644 --- a/plugins/squirrelspell/js/crypto_settings.js +++ b/plugins/squirrelspell/js/crypto_settings.js @@ -1,12 +1,12 @@ /** * crypto_settings.js - * ------------------- - * Some client-side checks. Nothing fancy. * - * $Id$ + * Some client-side checks. Nothing fancy. * - * @author Konstantin Riabitsev ($Author$) - * @version $Date$ + * @author Konstantin Riabitsev + * @copyright 2001-2017 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); }