addresses issue #1. lga switching is now OK when it's done in the summary view
adding ability to trigger callbacks when NMIS.Env values change. It will be very useful for triggering specific actions when certain things change. (e.g. when an LGA changes, but not a sector)
Cleaned up "summary" to use NMIS.Env which has cleaner ways to trigger certain page / map behavior
using a promise object to trigger actions at the end of a page-state change
added todo for tomorrow
moving sector-map view behavior into separate functions
fixing bug where map is not drawn when switching from facility,overview to summary,overview
using lga.variableSet instead of NMIS.variables
abstracted out common functionality into "_fetchModuleOnce" so that all LGA data modules are only fetched once per page load
using district data fetching shortcuts and slowly abstracting facility view callbacks into their own functions so they can be used more appropriately.
closure scoping NMIS.activeSector
isolating map-drawing actions in facilities.coffee
adding comments which hopefully explain why these NMIS modules exist
Moving away from a page-wide facilities list by removing NMIS.dataForSector(...) in favor of district.dataForSector(...) (should fix #1)
this functionality was carried over to NMIS.SectorDataTable #24
passing lga as first parameter to NMIS.SectorDataTable #1
facilities map is mostly working in the new syntax. almost ready to do a pull request.
load lga_data before displaying facilities > overview
moved all client-side templates into the "dashboard_subtemplates" file.
missing icon