[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci cluster/validate_config_fence.js ho ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]