[dev] small js patch to the cyrus user admin interface

Samuel Nicolary sam at nicolary.org
Wed Jul 28 09:23:27 PDT 2004


To fix a object not defined js error:

RCS file: /repository/horde/templates/admin/user/update.inc,v
retrieving revision 1.4
diff -r1.4 update.inc
10c10,11
<     } else if (document.updateuser.user_pass_1.value != document.updateuser.user_pass_2.value) {
---
>     } else if (typeof document.updateuser.user_pass_1 != 'undefined' &&
>         document.updateuser.user_pass_1.value != document.updateuser.user_pass_2.value) {


-- 
Sam Nicolary



More information about the dev mailing list