[Mapbender-commits] r6014 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Apr 23 05:27:17 EDT 2010


Author: christoph
Date: 2010-04-23 05:27:17 -0400 (Fri, 23 Apr 2010)
New Revision: 6014

Modified:
   trunk/mapbender/http/plugins/mb_map.js
Log:
avoid default behavior for map in IE

Modified: trunk/mapbender/http/plugins/mb_map.js
===================================================================
--- trunk/mapbender/http/plugins/mb_map.js	2010-04-23 09:25:24 UTC (rev 6013)
+++ trunk/mapbender/http/plugins/mb_map.js	2010-04-23 09:27:17 UTC (rev 6014)
@@ -66,6 +66,14 @@
 		null
 	));
 
+	$this.bind("mousedown", function (e) {
+		e.preventDefault();
+	}).bind("mouseover", function (e) {
+		e.preventDefault();
+	}).bind("mousemove", function (e) {
+		e.preventDefault();
+	});
+	
 	// for backwards compatibility
 	mb_mapObj.push(Mapbender.modules[options.id]);
 



More information about the Mapbender_commits mailing list