cldarcy / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

EXHIBIT. divs in legend widget do not have unique IDs #130

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

Original comment by GabrielR...@googlemail.com on 4 Apr 2009 at 6:59