[Mapbender-commits] r6487 - trunk/mapbender/http/extensions/ajaxChange-0.1

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 1 09:22:29 EDT 2010


Author: christoph
Date: 2010-07-01 13:22:29 +0000 (Thu, 01 Jul 2010)
New Revision: 6487

Modified:
   trunk/mapbender/http/extensions/ajaxChange-0.1/ajaxChange-0.2.js
Log:


Modified: trunk/mapbender/http/extensions/ajaxChange-0.1/ajaxChange-0.2.js
===================================================================
--- trunk/mapbender/http/extensions/ajaxChange-0.1/ajaxChange-0.2.js	2010-07-01 13:15:05 UTC (rev 6486)
+++ trunk/mapbender/http/extensions/ajaxChange-0.1/ajaxChange-0.2.js	2010-07-01 13:22:29 UTC (rev 6487)
@@ -85,10 +85,11 @@
 						f.apply(this, arguments);
 					})
 					.mousedown(function () {
-						if ($this.data("ajaxChangeSelectedIndex") === null
-							&& $this.data("ajaxChangeUndo")
+						var $current = $(this);
+						if ($current.data("ajaxChangeSelectedIndex") === null
+							&& $current.data("ajaxChangeUndo")
 						) {
-							$this.data("ajaxChangeSelectedIndex", this.selectedIndex);
+							$current.data("ajaxChangeSelectedIndex", this.selectedIndex);
 						}
 					});
 			}



More information about the Mapbender_commits mailing list