opengeo/geonode — pull request #22 by iwillig (2013-03-20 15:41:31+00:00)
Title: Even will all of our checks, at some point we call the toggleLegend

when we don't have a legend to toggle. This fix should make we get no
type errors