[Movecommons-commits] r607 - trunk/src

Mario Gallegos mgallegos at ourproject.org
Thu Mar 14 23:59:28 CET 2013


Author: mgallegos
Date: 2013-03-14 23:59:28 +0100 (Thu, 14 Mar 2013)
New Revision: 607

Modified:
   trunk/src/mc-dia-form2.js
Log:
IN PROGRESS - Enhancement #488:Save registrations in CSV or similar

Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2013-03-14 22:48:17 UTC (rev 606)
+++ trunk/src/mc-dia-form2.js	2013-03-14 22:59:28 UTC (rev 607)
@@ -449,8 +449,9 @@
 		return xmlDoc;
 	};
 	
+		
 	function xmlReplaceInvalidCharacters(string){
-		if(string=='') return string;
+		if(jQuery.trim(string)=="") return string;
 		var str = string;
 		str = str.replace(/&/g,'&');
 		str = str.replace(/</g,'&lt;');




More information about the Movecommons-commits mailing list