[Mapbender-commits] r7783 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Apr 27 03:41:06 EDT 2011


Author: verenadiewald
Date: 2011-04-27 00:41:06 -0700 (Wed, 27 Apr 2011)
New Revision: 7783

Modified:
   branches/2.7/http/javascripts/map_obj.js
Log:
reverted revision 7774

Modified: branches/2.7/http/javascripts/map_obj.js
===================================================================
--- branches/2.7/http/javascripts/map_obj.js	2011-04-21 09:26:33 UTC (rev 7782)
+++ branches/2.7/http/javascripts/map_obj.js	2011-04-27 07:41:06 UTC (rev 7783)
@@ -201,18 +201,19 @@
  // using the normalized jQuery event
 	this.getPos = function (e) {
 		var $dom = $(this.getDomElement());
-		if ( $.browser.msie ) {
+/*		if ( $.browser.msie ) {
 			return new Mapbender.Point(
 				e.pageX - $dom.offset().left + $(window).scrollLeft(),
 				e.pageY - $dom.offset().top + $(window).scrollTop()
 			);
 		}
 		else {
+*/		
 			return new Mapbender.Point(
 				e.pageX - $dom.offset().left,
 				e.pageY - $dom.offset().top
 			);
-		}
+		//}
 	};
 	
   	this.getMousePosition = function (event) {



More information about the Mapbender_commits mailing list