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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 29 08:04:48 EDT 2010


Author: christoph
Date: 2010-06-29 12:04:48 +0000 (Tue, 29 Jun 2010)
New Revision: 6450

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


Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js	2010-06-29 10:36:25 UTC (rev 6449)
+++ trunk/mapbender/lib/wizard.js	2010-06-29 12:04:48 UTC (rev 6450)
@@ -38,7 +38,7 @@
 		this._getPath($t);
 		this._navigate($t);
 		console.log("to" + $t.attr("id"));
-		this._trigger("to" + $t.attr("id"), true);
+		this._trigger("wizardto" + $t.attr("id"), [true]);
 		if (e) {
 			e.preventDefault();
 		}
@@ -81,11 +81,11 @@
 
 		var proceed = link === undefined ? true : this.options.onBeforeClickLink(e, $(link));
 		if (proceed === false) {
-			new Mapbender.Warning("Clicked link " + href + " in wizard " + wizardInstance.id + " aborted!");
+			new Mapbender.Warning("Clicked link " + href + " in wizard " + wizardInstance.attr("id") + " aborted!");
 			return;
 		}
 		
-		new Mapbender.Warning("Clicked link " + href + " in wizard " + wizardInstance.id);
+		new Mapbender.Warning("Clicked link " + href + " in wizard " + wizardInstance.attr("id"));
 		this._clickHandler(e, $target);
 	},
 	_create: function () {



More information about the Mapbender_commits mailing list