1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +01:00

Notification dropdown fixes

Summary: dropdown now displays properly and without flicker

Test Plan: tested locally

Reviewers: epriestley

Reviewed By: epriestley

CC: allenjohnashton, keebuhm, aran, Korvin

Differential Revision: https://secure.phabricator.com/D2708
This commit is contained in:
David Fisher 2012-06-11 17:16:55 -07:00 committed by epriestley
parent 865680ad30
commit 2bade93b76
3 changed files with 4 additions and 6 deletions

View file

@ -758,7 +758,7 @@ celerity_register_resource_map(array(
),
'javelin-behavior-aphlict-dropdown' =>
array(
'uri' => '/res/d0025c08/rsrc/js/application/aphlict/behavior-aphlict-dropdown.js',
'uri' => '/res/40c65741/rsrc/js/application/aphlict/behavior-aphlict-dropdown.js',
'type' => 'js',
'requires' =>
array(

View file

@ -414,8 +414,9 @@ final class PhabricatorStandardPageView extends AphrontPageView {
'div',
array(
'sigil' => 'aphlict-dropdown',
'id' => 'phabricator-notification-dropdown',
),
'id' => 'phabricator-notification-dropdown',
'style' => 'display: none',
),
'');
}

View file

@ -12,9 +12,6 @@ JX.behavior('aphlict-dropdown', function(config) {
var indicator = JX.$('phabricator-notification-indicator');
var visible = false;
JX.DOM.hide(dropdown);
//populate panel
(new JX.Request('/notification/panel/',
function(response) {