Ticket #124 (closed defect: invalid)

Opened 3 years ago

Last modified 2 years ago

protoype overrides OpenLayers Event methods in IE Safari

Reported by: madair Owned by: pagameba
Priority: P2 Milestone: 2.0
Component: Widgets Version: SVN
Severity: Major Keywords:
Cc: External ID:
state: New Browser: Safari 3
Operating System: All

Description

put a 'debugger;' statement in Map.js stopObserveEvent method and step into the function to see this:

stopObserveEvent : function(sEventName, fnCB) {

//debugger; //shows error in IE and Safari: OpenLayers.Event is

//overriden by prototype Event for some reason. Uncomment //the debugger line and step into next function to see it

OpenLayers.Event.stopObserving(this._oDomObj, sEventName, fnCB, false);

},

Change History

Changed 3 years ago by pagameba

Perhaps it has to do with using Function.bindWithEvent versus the equivalent OpenLayers method somewhere? Then the event object would be prototype's instead of OpenLayers'

Changed 3 years ago by madair

  • milestone changed from 1.1 to 2.0

Changed 2 years ago by pagameba

  • owner changed from madair to pagameba
  • status changed from new to assigned
  • browser changed from All to Safari 3

Mike, in what situations does this come up? There are only two calls to this function in Fusion - one is from RectTool?.js which seems to be no longer used and the other is from CursorPosition::deactivate() which I don't think ever happens, there is no way to trigger deactivate on the CursorPosition? widget.

Changed 2 years ago by madair

  • status changed from assigned to closed
  • resolution set to invalid

this might have been an IE6 issue, just tried again and it isn't happening

Note: See TracTickets for help on using tickets.