cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci cluster/validate_config_fence.js ho ...
Date: 4 Oct 2006 16:39:07 -0000	[thread overview]
Message-ID: <20061004163907.21001.qmail@sourceware.org> (raw)

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);



                 reply	other threads:[~2006-10-04 16:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061004163907.21001.qmail@sourceware.org \
    --to=rmccabe@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).