mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
React to Aphlict disconnects in the UI
Summary: Ref T5365. Surface disconnects in the UI. Test Plan: - Connected, then killed the server. - Saw disconnected event and appropriate update in the UI. {F169605} Reviewers: joshuaspence Reviewed By: joshuaspence Subscribers: epriestley Maniphest Tasks: T5365 Differential Revision: https://secure.phabricator.com/D9706
This commit is contained in:
parent
f8e7d8f65c
commit
79366795e7
3 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,8 @@ final class PhabricatorNotificationStatusView extends AphrontTagView {
|
|||
'error.flash.xdomain' => pht(
|
||||
'Unable to connect to Flash Policy Server. Check that the '.
|
||||
'notification server is running and port 843 is not firewalled.'),
|
||||
'error.flash.disconnected' => pht(
|
||||
'Disconnected from notification server.'),
|
||||
),
|
||||
));
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ package {
|
|||
}
|
||||
|
||||
private function didCloseSocket(event:Event):void {
|
||||
this.externalInvoke('close');
|
||||
this.setStatusOnClients('error', 'error.flash.disconnected');
|
||||
}
|
||||
|
||||
private function didIOErrorSocket(event:IOErrorEvent):void {
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue