[3835] trunk/htdocs/system/installer/script.js: Fix whitespace from last commit.

0 views
Skip to first unread message

svn-N...@habariproject.org

unread,
Nov 26, 2009, 9:05:32 PM11/26/09
to habar...@googlegroups.com
Revision
3835
Author
rickc
Date
2009-11-27 02:05:32 +0000 (Fri, 27 Nov 2009)

Log Message

Fix whitespace from last commit.

Modified Paths

Diff

Modified: trunk/htdocs/system/installer/script.js (3834 => 3835)


--- trunk/htdocs/system/installer/script.js	2009-11-27 02:02:04 UTC (rev 3834)
+++ trunk/htdocs/system/installer/script.js	2009-11-27 02:05:32 UTC (rev 3835)
@@ -57,14 +57,14 @@
 		pass1 = $('#adminpass1');
 		pass2 = $('#adminpass2');
 
-                if ( pass1.val().length > 0 && pass2.val().length > 0 && pass1.val() == pass2.val() ) {
-                    pass1.parents('.inputfield').removeClass('invalid').addClass('valid');
-                    installok = true;
-                }
-                else {
-					pass1.parents('.inputfield').removeClass('valid').addClass('invalid');
-					installok = false;
-                }
+		if ( pass1.val().length > 0 && pass2.val().length > 0 && pass1.val() == pass2.val() ) {
+			pass1.parents('.inputfield').removeClass('invalid').addClass('valid');
+			installok = true;
+		}
+		else {
+			pass1.parents('.inputfield').removeClass('valid').addClass('invalid');
+			installok = false;
+		}
 
 		// Check other details have been entered
 		$('#sitename, #adminuser, #adminemail').each(function(){
Reply all
Reply to author
Forward
0 new messages