utf-8 is already converted by ja_JP extra functions.
[squirrelmail.git] / plugins / squirrelspell / js / decrypt_error.js
1 /**
2 * decrypt_error.js
3 * -----------------
4 * Some client-side form-checks. Trivial stuff.
5 *
6 * $Id$
7 *
8 * @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
9 * @version $Date$
10 */
11
12 function AYS(){
13 if (document.forms[0].delete_words.checked && document.forms[0].old_key.value){
14 alert (ui_candel);
15 return false;
16 }
17
18 if (!document.forms[0].delete_words.checked && !document.forms[0].old_key.value){
19 alert(ui_choice);
20 return false;
21 }
22 if (document.forms[0].delete_words.checked)
23 return confirm(ui_willdel);
24 return true;
25 }
26