[Mapbender-commits] r6443 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jun 29 06:16:48 EDT 2010
Author: christoph
Date: 2010-06-29 10:16:48 +0000 (Tue, 29 Jun 2010)
New Revision: 6443
Modified:
trunk/mapbender/lib/wizard.js
Log:
Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js 2010-06-29 10:14:25 UTC (rev 6442)
+++ trunk/mapbender/lib/wizard.js 2010-06-29 10:16:48 UTC (rev 6443)
@@ -41,7 +41,7 @@
e.preventDefault();
}
},
- to: function (link, e) {
+ to: function (e, link) {
var href, $target, me;
// if (arguments.length === 2) {
// $target = arguments[1];
@@ -80,7 +80,7 @@
return;
}
- var proceed = me === null ? true : o.onBeforeClickLink(e, $(me));
+ var proceed = me === null ? true : this.options.onBeforeClickLink(e, $(link));
if (proceed === false) {
new Mapbender.Warning("Clicked link " + href + " in wizard " + wizardInstance.id + " aborted!");
return;
@@ -115,7 +115,7 @@
}
$("a.wizard").live("click", function (e) {
- wizardInstance.to(this, e);
+ wizardInstance.to(e, this);
});
}
});
More information about the Mapbender_commits
mailing list