pophealth/popHealth — pull request #224 by carpeliam (2014-07-23 21:37:46+00:00)
Title: update dashboard measure count

The measure count in the filter section isn't being updated properly due to a markup change; this fixes that.

This exposes one of the issues with Thorax... it doesn't have baked-in support for updating small aspects of the UI when properties change. We got around this by using jQuery to update the UI, but this is brittle as it forces us to keep the views up to date when the markup changes, and there aren't any explicit connections between the two files.

I have some unfinished code that'll make the measure count an attribute of the category, which would be automatically rerendered on a change. This PR is a temporary fix until I can get that finished.