Opened 12 years ago

Closed 12 years ago

#436 closed defect (fixed)

MapMessage can raise an error on refreshLayout()

Reported by: jng Owned by: madair
Priority: P2 Milestone: 2.2
Component: Core Version:
Severity: Major Keywords:
Cc: zspitzer Browser: IE8(beta)
External ID: Operating System: All
state: New


In MapMessage.js the refreshLayout() function can possibly assign a negative width resulting in a scripting error.

This happens if the application definition is being viewed from within internet explorer that has been embedded in a .net application, and the application window is minimised.

Attached is a patch that simply guards against negative widths being assigned in refreshLayout()

Attachments (1)

436.patch (571 bytes ) - added by jng 12 years ago.
Patch to guard against negative width assignment

Download all attachments as: .zip

Change History (2)

by jng, 12 years ago

Attachment: 436.patch added

Patch to guard against negative width assignment

comment:1 by madair, 12 years ago

Resolution: fixed
Status: newclosed

fixed at rev [2352] in trunk and 2.2 branch.

Note that MapMessage should probably be re-written as a Fusion widget.

Note: See TracTickets for help on using tickets.