Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > d536e3b2143fe88c174c968d683c0f4f > files > 6

conga-0.12.2-24.el5_6.1.src.rpm

diff -u -r1.3.2.7 conga.js
--- conga-0.12.2/luci/plone-custom/conga.js	14 Jul 2008 21:52:30 -0000	1.3.2.7
+++ conga-0.12.2/luci/plone-custom/conga.js	22 Dec 2009 04:27:43 -0000
@@ -202,8 +202,6 @@
 	if (i.length === 1) {
 		if (iponly) {
 			return ('You must enter an IP address in quad-dot notation.');
-		} else {
-			return ('Hostnames must be fully qualified.');
 		}
 	}

@@ -223,7 +223,7 @@
 		return (null);
 	}
 
-	if (!isNaN(parseInt(i[i.length - 1], 10))) {
+	if (!isNaN(Number(i[i.length - 1]))) {
 		return ('Invalid IP address.');
 	}