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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 22 10:37:04 EDT 2010


Author: christoph
Date: 2010-06-22 14:37:04 +0000 (Tue, 22 Jun 2010)
New Revision: 6395

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


Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js	2010-06-22 14:35:21 UTC (rev 6394)
+++ trunk/mapbender/lib/wizard.js	2010-06-22 14:37:04 UTC (rev 6395)
@@ -36,7 +36,7 @@
 			}
 		};
 	
-		var to = function (e) {
+		var to = function () {
 			if (arguments.length === 2) {
 				var $target = arguments[1];
 				console.log($target);
@@ -47,6 +47,7 @@
 				var href = $(this).attr("href");
 				var $target = $(href);
 				var me = this;
+				var e = arguments[0];
 			}
 			var found = false;
 			var abort = false;
@@ -112,7 +113,7 @@
 		}
 
 		$("a.wizard").live("click", function (e) {
-			to.apply(this, [e]);
+			to.apply($(this), [e]);
 		});
 	});
 };
\ No newline at end of file



More information about the Mapbender_commits mailing list