1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00
phorge-phorge/webroot/rsrc/js/application/aphlict
Bob Trahan d8ab5f594c Quicksand - make page object notifications work properly with quicksand
Summary: Fixes T7680. Make it so the listen behavior can be initialized multiple times from the server by having the behavior only update a few static data variables on subsequent initializations.

Test Plan:
visited TX with user A and left a comment with user B and got the "reload" and "TX updated" bubbles.
Reloaded and navigated to /maniphest/ with user A and had user B leave another comment on TX - no "reload" bubble and correct "TX updated" bubble.
Navigated to TX again with user A and had user B leave a comment and got the "reload" and "TX updated" bubbles.
visited TX with user A and left a comment with user B and got the "reload" and "TX updated" bubbles. navigated away with user A and the "reload" bubble was automagically closed.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7680

Differential Revision: https://secure.phabricator.com/D12448
2015-04-20 16:43:32 -07:00
..
Aphlict.js Quicksand - make page object notifications work properly with quicksand 2015-04-20 16:43:32 -07:00
behavior-aphlict-dropdown.js Conpherence - fix 0 messages in header race condition 2015-03-16 14:28:25 -07:00
behavior-aphlict-listen.js Quicksand - make page object notifications work properly with quicksand 2015-04-20 16:43:32 -07:00
behavior-aphlict-status.js Minor tidying of Aphlict code 2015-01-15 08:08:08 +11:00