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 |
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 (4)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Milestone: | 1.1 → 2.0 |
---|
comment:3 by , 15 years ago
Browser: | All → Safari 3 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
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 , 15 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
this might have been an IE6 issue, just tried again and it isn't happening
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'