From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 4 Oct 2006 16:39:07 -0000 Subject: [Cluster-devel] conga/luci cluster/validate_config_fence.js ho ... Message-ID: <20061004163907.21001.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2006-10-04 16:39:07 Modified files: luci/cluster : validate_config_fence.js luci/homebase : validate_user_add.js Log message: fix for a few javascript syntax errors Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/validate_config_fence.js.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_user_add.js.diff?cvsroot=cluster&r1=1.2&r2=1.3 --- conga/luci/cluster/validate_config_fence.js 2006/09/27 22:24:11 1.2 +++ conga/luci/cluster/validate_config_fence.js 2006/10/04 16:39:07 1.3 @@ -6,7 +6,7 @@ if (!form.post_fail_delay || str_is_blank(form.post_fail_delay.value)) { errors.push('No post fail delay value was given.'); set_form_err(form.post_fail_delay); - } else if (!is_valid_int(form.post_fail_delay.value, 0, null)) + } else if (!is_valid_int(form.post_fail_delay.value, 0, null)) { errors.push('The post fail delay must be a non-negative integer value.'); set_form_err(form.post_fail_delay); } else --- conga/luci/homebase/validate_user_add.js 2006/09/27 22:49:09 1.2 +++ conga/luci/homebase/validate_user_add.js 2006/10/04 16:39:07 1.3 @@ -32,7 +32,7 @@ errors.push('You did not confirm your password.'); set_form_err(form.newPasswordConfirm); } else { - else if (form.newPassword.value != form.newPasswordConfirm.value) { + if (form.newPassword.value != form.newPasswordConfirm.value) { errors.push('The passwords you entered do not match.'); set_form_err(form.newPassword); set_form_err(form.newPasswordConfirm);