[Mapbender-commits] r6453 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jun 29 09:33:34 EDT 2010
Author: christoph
Date: 2010-06-29 13:33:34 +0000 (Tue, 29 Jun 2010)
New Revision: 6453
Modified:
trunk/mapbender/lib/wizard.js
Log:
Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js 2010-06-29 13:26:51 UTC (rev 6452)
+++ trunk/mapbender/lib/wizard.js 2010-06-29 13:33:34 UTC (rev 6453)
@@ -45,16 +45,16 @@
},
to: function (link, e) {
var href, $target, me;
-// if (arguments.length === 2) {
-// $target = arguments[1];
-// href = "#" + $target.attr("id");
-// me = null;
-// e = null;
-// }
-// else {
+ if (e === undefined) {
+ $target = arguments[0];
+ href = "#" + $target.attr("id");
+ me = null;
+ e = null;
+ }
+ else {
href = $(link).attr("href");
$target = $(href);
-// }
+ }
var found = false;
var abort = false;
var wizardInstance = this.element;
@@ -94,7 +94,7 @@
$wiz.data("isWizard", true);
if (this.options.startWith) {
- getPath(this.options.startWith);
+ this._getPath(this.options.startWith);
}
$("a.wizard").live("click", function (e) {
More information about the Mapbender_commits
mailing list