changeset 10:bcc91da76221

fixed bug with timespans. git-svn-id: http://dev.dariah.eu/svn/repos/eu.dariah.de/ap1/sti-gwt-dariah-geobrowser@91 f2b5be40-def6-11e0-8a09-b3c1cc336c6b
author StefanFunk <StefanFunk@f2b5be40-def6-11e0-8a09-b3c1cc336c6b>
date Wed, 05 Sep 2012 14:23:44 +0000
parents e7595fbda9fc
children f0365f1b90ec
files war/scripts/sti/STICore.js
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/war/scripts/sti/STICore.js	Wed Sep 05 14:16:08 2012 +0000
+++ b/war/scripts/sti/STICore.js	Wed Sep 05 14:23:44 2012 +0000
@@ -533,11 +533,11 @@
    					}
    					/* TimeSpan:begin */
    					if (usedHeaders[j] == expectedHeaders[6]) {
-   						timespanBegin = innerArray[i];
+   						timespanBegin = innerArray[j];
    					}   						
    					/* TimeSpan:end */
    					if (usedHeaders[j] == expectedHeaders[7]) {
-   						timespanEnd = innerArray[i];
+   						timespanEnd = innerArray[j];
    					}   						
    					/* Longitude */                                                          
    					if (usedHeaders[j] == expectedHeaders[3]) {                              
@@ -545,7 +545,7 @@
    					}                                                                        
    					/* Latitude */                                                           
    					if (usedHeaders[j] == expectedHeaders[4]) {                              
-   						latitude = innerArray[j];                                            
+   						latitude = innerArray[j];
    					}
    				}
    				/* set timespan:begin und timespan:end */