Add loading state to notification menu.

Summary: Notification menu shows a loading message before the menu is populated with the actual response.

Test Plan: Checked by having the function sleep between getting the response and populating the menu.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4696
This commit is contained in:
Bryan Cuccioli
2013-01-28 17:34:59 -08:00
committed by epriestley
parent 13eb77fe6c
commit 15e284caa9
3 changed files with 28 additions and 2 deletions

View File

@@ -390,6 +390,7 @@ final class PhabricatorMainMenuView extends AphrontView {
'bubbleID' => $bubble_id,
'countID' => $count_id,
'dropdownID' => $dropdown_id,
'loadingText' => pht('Loading...'),
));
$notification_dropdown = javelin_render_tag(