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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 29 09:26:51 EDT 2010


Author: christoph
Date: 2010-06-29 13:26:51 +0000 (Tue, 29 Jun 2010)
New Revision: 6452

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


Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js	2010-06-29 12:07:08 UTC (rev 6451)
+++ trunk/mapbender/lib/wizard.js	2010-06-29 13:26:51 UTC (rev 6452)
@@ -43,7 +43,7 @@
 			e.preventDefault();
 		}
 	},
-	to: function (e, link) {
+	to: function (link, e) {
 		var href, $target, me;
 //		if (arguments.length === 2) {
 //			$target = arguments[1];
@@ -89,22 +89,6 @@
 		this._clickHandler(e, $target);
 	},
 	_create: function () {
-/*
-		var options = this.options;
-		var args = arguments;
-
-		if (typeof options === "string") {
-			if (!$(this).data("isWizard")) {
-				return;
-			}
-			var wizardInstance = this;
-			var o = $(this).data("wizardOptions");
-			if (options === "to" && args.length === 2) {
-				return to(null, args[1]);
-			}
-			return;
-		}
-*/
 		var wizardInstance = this;
 		var $wiz = wizardInstance.element;
 		$wiz.data("isWizard", true);
@@ -114,7 +98,7 @@
 		}
 
 		$("a.wizard").live("click", function (e) {
-			wizardInstance.to(e, this);
+			wizardInstance.to(this, e);
 		});
 	}
 });



More information about the Mapbender_commits mailing list