[Mapbender-commits] r6350 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jun 18 09:37:33 EDT 2010
Author: christoph
Date: 2010-06-18 13:37:33 +0000 (Fri, 18 Jun 2010)
New Revision: 6350
Modified:
trunk/mapbender/lib/wizard.js
Log:
Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js 2010-06-18 13:33:45 UTC (rev 6349)
+++ trunk/mapbender/lib/wizard.js 2010-06-18 13:37:33 UTC (rev 6350)
@@ -31,15 +31,17 @@
if (m && m.path) {
var p = m.path.split("/");
var pathArray = [];
- $(p).each(function () {
- console.log(this);
- var dom = $(this);
+ $.each(p, function (i, val) {
+ console.log(val);
+ var dom = $(val);
if (dom.size() !== 1) {
return;
}
pathArray.push("<a class='wizard' href='" +
- this + "'>" + dom.title + "</a>");
+ val + "'>" + dom.title + "</a>");
+
});
+
console.log(pathArray.join(" / "));
}
More information about the Mapbender_commits
mailing list