Opened 16 years ago

Closed 15 years ago

#124 closed defect (invalid)

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: Browser: Safari 3
External ID: Operating System: All
state: New


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 (4)

comment:1 by pagameba, 16 years ago

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'

comment:2 by madair, 16 years ago

Milestone: 1.12.0

comment:3 by pagameba, 15 years ago

Browser: AllSafari 3
Owner: changed from madair to pagameba
Status: newassigned

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.

comment:4 by madair, 15 years ago

Resolution: invalid
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.