[fusion-commits] r2303 - trunk/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Dec 9 22:11:28 EST 2010


Author: hubu
Date: 2010-12-09 19:11:28 -0800 (Thu, 09 Dec 2010)
New Revision: 2303

Modified:
   trunk/lib/Map.js
Log:
fix ticket: https://trac.osgeo.org/fusion/ticket/424


Modified: trunk/lib/Map.js
===================================================================
--- trunk/lib/Map.js	2010-12-10 03:10:46 UTC (rev 2302)
+++ trunk/lib/Map.js	2010-12-10 03:11:28 UTC (rev 2303)
@@ -1440,6 +1440,9 @@
 
      onContextMenu: function(e) {
          //console.log('oncontextmenu');
+         // below line as a workaround for IE9 defect, please refer to https://trac.osgeo.org/fusion/ticket/424
+         // once IE9 fix this defect, we will roll back this line.
+         e=window.event?window.event:e;
          if (this.oContextMenu && !this.bSupressContextMenu && this.isLoaded()) {
              this.oContextMenu.show(new Event(e));
              this.contextMenuPosition = this.getEventPosition(e);



More information about the fusion-commits mailing list