[Mapbender-commits] r6356 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jun 18 10:00:04 EDT 2010


Author: christoph
Date: 2010-06-18 14:00:04 +0000 (Fri, 18 Jun 2010)
New Revision: 6356

Modified:
   trunk/mapbender/http/plugins/mb_wizard.js
Log:


Modified: trunk/mapbender/http/plugins/mb_wizard.js
===================================================================
--- trunk/mapbender/http/plugins/mb_wizard.js	2010-06-18 13:59:55 UTC (rev 6355)
+++ trunk/mapbender/http/plugins/mb_wizard.js	2010-06-18 14:00:04 UTC (rev 6356)
@@ -1,8 +1,19 @@
 var $wizard = $(this);
 
 var WizardApi = function (o) {
+	var that = this;
+
+	this.events = {
+		onClickLink: new Mapbender.Event()
+	};
+
 	$wizard.append(o.$target).wizard({
-		fade: true
+		fade: true,
+		onClickLink: function ($targets) {
+			that.events.onClickLink.trigger({
+				path: $targets
+			});
+		}
 	});
 };
 



More information about the Mapbender_commits mailing list