[fusion-commits] r1368 - sandbox/olcore/MapServer

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Apr 8 16:38:49 EDT 2008


Author: pdeschamps
Date: 2008-04-08 16:38:49 -0400 (Tue, 08 Apr 2008)
New Revision: 1368

Modified:
   sandbox/olcore/MapServer/MapServer.js
Log:
commented out Object.inheritFrom(this, Fusion.Lib.EventMgr, []);


Modified: sandbox/olcore/MapServer/MapServer.js
===================================================================
--- sandbox/olcore/MapServer/MapServer.js	2008-04-08 20:01:18 UTC (rev 1367)
+++ sandbox/olcore/MapServer/MapServer.js	2008-04-08 20:38:49 UTC (rev 1368)
@@ -58,8 +58,14 @@
 
     initialize : function(map, mapTag, isMapWidgetLayer) {
         //console.log('Fusion.Maps.MapServer.initialize');
-        Object.inheritFrom(this, Fusion.Lib.EventMgr, []);
+        /*
+        //Object.inheritFrom(this, Fusion.Lib.EventMgr, []);
+        
+        prototype is not yet defined when this is called now omitting. 
 
+        Fusion.Lib.EventMgr.prototype.initialize.apply(this, []);
+        */
+
         this.registerEventID(Fusion.Event.MAP_SESSION_CREATED);
         this.registerEventID(Fusion.Event.MAP_SELECTION_ON);
         this.registerEventID(Fusion.Event.MAP_SELECTION_OFF);



More information about the fusion-commits mailing list