TryGhost/Ghost — pull request #3181 by jaswilli (2014-07-02 03:55:33+00:00)
Title: Prevent stacking notifications during rapid toggle

This covers the following:

* It's still possible to get multiple stacked notifications for the same event on UI elements that you can toggle very rapidly (featured/not featured, general settings save button, sign in button, etc.). This calls `notifications.closePassive()` after both the successful or rejected promise resolution. Otherwise what can happen is that notifications get cleared, save gets called async, the user toggles the item again and notifications get cleared again before the original async save is finished--eventually you end up with a bunch of notifications when the saves catch up.

* We discovered earlier today that re-rejecting promises in `.catch` handlers of controller actions can result in Ember throwing unhandled rejection errors. This removes the occurrences of this behavior where it shouldn't be that aren't covered by #3180.