puppetlabs/puppet-dashboard — pull request #199 by jeffweiss (2013-04-06 04:32:45+00:00)
Title: (maint) only add chart if it's not there

Prior to this commit, Dashboard would experience a weird bug where
the charts would intermittantly show up twice. This commit adds a simple
exists? check and only adds the charts if they are not already in the
DOM.