Opened 11 years ago

Closed 11 years ago

#2267 closed defect (fixed)

parent.InMeasure is not a function while moving mouse before AJAX viewer is fully initialized

Reported by: jng Owned by: jng
Priority: low Milestone:
Component: AJAX Viewer Version:
Severity: trivial Keywords:
Cc: External ID:

Description

If you move the mouse in the map area as the AJAX viewer is being initialized, the error console will be spammed with parent.InMeasure is not a function in the OnMouseMove() function of ajaxmapppane.templ, despite the mapInit variable being true

The solution is to test both parent and InMeasure before attempting to invoke the function, otherwise default to false

Change History (1)

comment:1 by jng, 11 years ago

Resolution: fixed
Status: newclosed

Fixed trunk (r7723), 2.5 (r7722) and 2.4 (r7724)

Note: See TracTickets for help on using tickets.