mozilla/fireplace — pull request #367 by ngokevin (2014-02-11 22:43:40+00:00)
Title: don't rebuild page on visibility change from 917592 (bug 960235)

- Changes the solution of https://bugzilla.mozilla.org/show_bug.cgi?id=917592 to be more focused.
- The issue was trying to revert "Launch" buttons back to "Install" if the user uninstalled the app.
- The previous solution was to fetch the installed apps list and then manually *rebuild* (not reload) the whole page with builder.js.
- This was a buggy way since many views had code outside of the builder that was not re-run and many defers/GET requests were failing, causing disappearing content.
- The new solution is to fetch the installed apps list, and revert only applicable install buttons