[fusion-commits] r2302 - branches/fusion-2.2/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Dec 9 22:10:46 EST 2010


Author: hubu
Date: 2010-12-09 19:10:46 -0800 (Thu, 09 Dec 2010)
New Revision: 2302

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


Modified: branches/fusion-2.2/lib/Map.js
===================================================================
--- branches/fusion-2.2/lib/Map.js	2010-12-09 21:18:13 UTC (rev 2301)
+++ branches/fusion-2.2/lib/Map.js	2010-12-10 03:10:46 UTC (rev 2302)
@@ -1434,6 +1434,9 @@
      },
 
      onContextMenu: function(e) {
+         // 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;
          //console.log('oncontextmenu');
          if (this.oContextMenu && !this.bSupressContextMenu && this.isLoaded()) {
              this.oContextMenu.show(new Event(e));



More information about the fusion-commits mailing list