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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jun 17 07:32:15 EDT 2010


Author: christoph
Date: 2010-06-17 11:32:15 +0000 (Thu, 17 Jun 2010)
New Revision: 6289

Modified:
   trunk/mapbender/lib/basic.js
Log:


Modified: trunk/mapbender/lib/basic.js
===================================================================
--- trunk/mapbender/lib/basic.js	2010-06-17 11:31:13 UTC (rev 6288)
+++ trunk/mapbender/lib/basic.js	2010-06-17 11:32:15 UTC (rev 6289)
@@ -392,6 +392,10 @@
 			$link = $(this);
 			var href = $link.attr("href");
 			var $target = $(href);
+			if ($target.size() === 0) {
+				return;
+			}
+			
 			var target = $target.mapbender();
 
 			var showTarget = function () {



More information about the Mapbender_commits mailing list