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

SF.net SVN: ledger-smb:[4276] branches/1.3/UI/form-dynatable.csv



Revision: 4276
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4276&view=rev
Author:   einhverfr
Date:     2012-01-21 10:14:01 +0000 (Sat, 21 Jan 2012)
Log Message:
-----------
fixing csv handling of empty hrefs

Modified Paths:
--------------
    branches/1.3/UI/form-dynatable.csv

Modified: branches/1.3/UI/form-dynatable.csv
===================================================================
--- branches/1.3/UI/form-dynatable.csv	2012-01-21 08:07:00 UTC (rev 4275)
+++ branches/1.3/UI/form-dynatable.csv	2012-01-21 10:14:01 UTC (rev 4276)
@@ -1,5 +1,5 @@
 <?lsmb FOREACH column IN columns;
-	IF heading.$column.text;
+	IF heading.$column.text OR heading.$column.href;
 		heading.$column.text;
 	ELSE;
 		heading.$column;
@@ -10,7 +10,7 @@
 END ?>
 <?lsmb FOREACH row IN rows;
 	FOREACH column IN columns;
-		IF row.$column.text.defined;
+		IF row.$column.text.defined OR row.$column.href.defined;
 			row.$column.text;
 		ELSE;
 			row.$column;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.