[Mapbender-commits] r6572 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 5 10:40:52 EDT 2010


Author: kmq
Date: 2010-07-05 14:40:52 +0000 (Mon, 05 Jul 2010)
New Revision: 6572

Modified:
   trunk/mapbender/lib/wizard.js
Log:
fix corss browser issue with fragment identifiers

Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js	2010-07-05 12:23:28 UTC (rev 6571)
+++ trunk/mapbender/lib/wizard.js	2010-07-05 14:40:52 UTC (rev 6572)
@@ -59,8 +59,14 @@
 		}
 		else {
 			href = $(link).attr("href");
+			// IE returns the URL as absolute firefox as relative
+			var stringparts =  = href.split('#');
+			href = stringparts[stringparts.length -1];
 			$target = $(href);
 		}
+
+
+
 		var found = false;
 		var abort = false;
 		var wizardInstance = this;



More information about the Mapbender_commits mailing list