mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 20:10:55 +01:00
Make Aphlict errors persistent.
Summary: Since an error is bad and means that some sort of action is required, make Aphlict error notifications persistent (i.e. they won't dismiss until being clicked). Test Plan: Loaded a page with `notifications.enabled` set to `true` but without the Aphlict server actually running. Noticed that the error message didn't dismiss automatically. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9423
This commit is contained in:
parent
4c82293385
commit
bb6fb24966
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ JX.behavior('aphlict-listen', function(config) {
|
|||
new JX.Notification()
|
||||
.setContent('(Aphlict) ' + message)
|
||||
.alterClassName('jx-notification-error', true)
|
||||
.setDuration(0)
|
||||
.show();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue