Opened 13 years ago

Closed 13 years ago

#425 closed defect (fixed)

"Stop Running this Script" with Fusion & IE when too many items in legend

Reported by: liuar Owned by: liuar
Priority: P2 Milestone: Future
Component: Widgets Version: 2.2 - RC1
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: Committed

Description

This defect is caused by Ticket #388 Legend: dynamic legend doesn't work in IE.

All legend icons will be requested from server no matter the layer’s legend icon should be shown or not. So there will be a long term loop which IE thought harmful and prompt user to stop running the script . The workaround is letting IE browser take a breath while handling the loop, I make it take a 0.001 second break after processing 10 legend icons. This will prevent the 'Stop running this script' message in IE.

Attachments (1)

legend.patch (2.8 KB ) - added by liuar 13 years ago.

Download all attachments as: .zip

Change History (3)

by liuar, 13 years ago

Attachment: legend.patch added

comment:1 by jng, 13 years ago

I'm wondering whether this patch is still applicable, given my legend-related performance improvements in #460

comment:2 by liuar, 13 years ago

Resolution: fixed
state: NewCommitted
Status: newclosed

Thanks you, Jackie. The patch I attached was just a workaround. I think I can close this ticket since you've already fixed the problem.

-Arthur

Note: See TracTickets for help on using tickets.