r4897 - trunk/lib/style/skins/first

leinfelder at ecoinformatics.org leinfelder at ecoinformatics.org
Thu Apr 2 17:40:04 PDT 2009


Author: leinfelder
Date: 2009-04-02 17:40:04 -0700 (Thu, 02 Apr 2009)
New Revision: 4897

Modified:
   trunk/lib/style/skins/first/download.jsp
Log:
use recordNum instead of studentId for transposed data

Modified: trunk/lib/style/skins/first/download.jsp
===================================================================
--- trunk/lib/style/skins/first/download.jsp	2009-04-03 00:20:28 UTC (rev 4896)
+++ trunk/lib/style/skins/first/download.jsp	2009-04-03 00:40:04 UTC (rev 4897)
@@ -306,6 +306,13 @@
 			//add column to data header row
 			header.add(1, null);
 		}
+		
+		//replace the "studentId" label
+		int temp = header.indexOf("studentid");
+		if (header.remove(temp) != null) {
+			header.add(temp, "recordNum");
+		}
+		
 		//put the data header row on the table
 		retTable.add(header.toArray(new String[0]));
 		



More information about the Metacat-cvs mailing list