Solved! Go to Solution.
Michelle,
Thanks for reporting this bug. I have not looked at the DynamicLegend code much since most are using my TOCWidget. I have addressed the issue and you can find the updated widget here:
http://www.arcgis.com/home/item.html?id=f60406b9f52340d59eb557bf64136af6
Michelle,
Now you can go get version 3.1.2 that fixes the stuff broke in 3.1.1.