Opened 5 years ago

Closed 4 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 Changed 4 years ago by jng

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.