[Mapbender-commits] r6439 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jun 29 06:01:52 EDT 2010
Author: christoph
Date: 2010-06-29 10:01:52 +0000 (Tue, 29 Jun 2010)
New Revision: 6439
Modified:
trunk/mapbender/lib/wizard.js
Log:
Modified: trunk/mapbender/lib/wizard.js
===================================================================
--- trunk/mapbender/lib/wizard.js 2010-06-29 10:00:30 UTC (rev 6438)
+++ trunk/mapbender/lib/wizard.js 2010-06-29 10:01:52 UTC (rev 6439)
@@ -57,7 +57,7 @@
var found = false;
var abort = false;
console.log($target);
- var wizardInstance = this;
+ var wizardInstance = this.element;
$target.parents().each(function () {
if (abort || found) {
return;
@@ -65,12 +65,12 @@
var $currentElement = $(this);
console.log($currentElement);
// not this target's wizard
- if ($currentElement.data("isWizard") && this !== wizardInstance) {
+ if ($currentElement.data("isWizard") && $currentElement !== wizardInstance) {
abort = true;
return;
}
// this target's wizard
- if ($currentElement.data("isWizard") && this === wizardInstance) {
+ if ($currentElement.data("isWizard") && $currentElement === wizardInstance) {
found = true;
return;
}
More information about the Mapbender_commits
mailing list