In exhibit/src/webapp/api/scripts/ui/widgets/legend-widget.js, the DIV IDs
exhibit-color-legend, exhibit-icon-legend, and exhibit-size-legend are used
to identify subportions of the legend uniquely. They are later referred to
by ID in Exhibit.LegendWidget.prototype.addEntry. The problem is, if you
have multiple widgets which internally generate a legend widget on the same
page - say, a timeline and a map - you'll now have multiple widgets with
the same ID, which is a no-no; you're either guaranteed to never be able to
refer to one of them, or it'll be random which one you get.
[Submitted by Samuel Bayer on simile.mit.edu]
Original issue reported on code.google.com by GabrielR...@googlemail.com on 4 Apr 2009 at 4:58
Original issue reported on code.google.com by
GabrielR...@googlemail.com
on 4 Apr 2009 at 4:58