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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jun 18 07:21:24 EDT 2010


Author: christoph
Date: 2010-06-18 11:21:24 +0000 (Fri, 18 Jun 2010)
New Revision: 6347

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


Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js	2010-06-18 11:17:11 UTC (rev 6346)
+++ trunk/mapbender/lib/wizard.js	2010-06-18 11:21:24 UTC (rev 6347)
@@ -28,7 +28,20 @@
 					type: "attr",
 					name: "data"
 				});
-				console.log(m);
+				if (m && m.path) {
+					var p = path.split("/");
+					var pathArray = [];
+					$(p).each(function () {
+						var dom = $(this);
+						if (dom.size() !== 1) {
+							return;
+						}
+						pathArray.push("<a class='wizard' href='" + 
+							this + "'>" + dom.title + "</a>");
+					});
+					console.log(pathArray.join(" / "));
+					
+				}
 				e.preventDefault();
 			};
 		}



More information about the Mapbender_commits mailing list