| | |
| | | /* Password change interface (tab) */ |
| | | /* |
| | | * Password plugin script |
| | | * @version @package_version@ |
| | | */ |
| | | |
| | | if (window.rcmail) { |
| | | rcmail.addEventListener('init', function(evt) { |
| | |
| | | } else if (input_confpasswd && input_confpasswd.value=='') { |
| | | alert(rcmail.gettext('nopassword', 'password')); |
| | | input_confpasswd.focus(); |
| | | } else if ((input_newpasswd && input_confpasswd) && (input_newpasswd.value != input_confpasswd.value)) { |
| | | } else if (input_newpasswd && input_confpasswd && input_newpasswd.value != input_confpasswd.value) { |
| | | alert(rcmail.gettext('passwordinconsistency', 'password')); |
| | | input_newpasswd.focus(); |
| | | } else { |