Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14350909
D12091.id29087.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D12091.id29087.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -8,7 +8,7 @@
return array(
'names' => array(
'core.pkg.css' => 'a7f3dc55',
- 'core.pkg.js' => '69f7e542',
+ 'core.pkg.js' => '75599122',
'darkconsole.pkg.js' => '8ab24e01',
'differential.pkg.css' => '1940be3f',
'differential.pkg.js' => '85fd84c6',
@@ -347,7 +347,7 @@
'rsrc/image/texture/table_header_hover.png' => '038ec3b9',
'rsrc/image/texture/table_header_tall.png' => 'd56b434f',
'rsrc/js/application/aphlict/Aphlict.js' => '2be71d56',
- 'rsrc/js/application/aphlict/behavior-aphlict-dropdown.js' => '830b3278',
+ 'rsrc/js/application/aphlict/behavior-aphlict-dropdown.js' => '00def500',
'rsrc/js/application/aphlict/behavior-aphlict-listen.js' => 'bdf2226d',
'rsrc/js/application/aphlict/behavior-aphlict-status.js' => 'ea681761',
'rsrc/js/application/auth/behavior-persona-login.js' => '9414ff18',
@@ -543,7 +543,7 @@
'inline-comment-summary-css' => 'eb5f8e8c',
'javelin-aphlict' => '2be71d56',
'javelin-behavior' => '61cbc29a',
- 'javelin-behavior-aphlict-dropdown' => '830b3278',
+ 'javelin-behavior-aphlict-dropdown' => '00def500',
'javelin-behavior-aphlict-listen' => 'bdf2226d',
'javelin-behavior-aphlict-status' => 'ea681761',
'javelin-behavior-aphront-basic-tokenizer' => 'b3a4b884',
@@ -832,6 +832,16 @@
'unhandled-exception-css' => '37d4f9a2',
),
'requires' => array(
+ '00def500' => array(
+ 'javelin-behavior',
+ 'javelin-request',
+ 'javelin-stratcom',
+ 'javelin-vector',
+ 'javelin-dom',
+ 'javelin-uri',
+ 'javelin-behavior-device',
+ 'phabricator-title',
+ ),
'0286a1db' => array(
'javelin-dom',
'javelin-util',
@@ -1432,16 +1442,6 @@
'82ce2142' => array(
'aphront-typeahead-control-css',
),
- '830b3278' => array(
- 'javelin-behavior',
- 'javelin-request',
- 'javelin-stratcom',
- 'javelin-vector',
- 'javelin-dom',
- 'javelin-uri',
- 'javelin-behavior-device',
- 'phabricator-title',
- ),
'834a1173' => array(
'javelin-behavior',
'javelin-scrollbar',
diff --git a/src/view/page/menu/PhabricatorMainMenuView.php b/src/view/page/menu/PhabricatorMainMenuView.php
--- a/src/view/page/menu/PhabricatorMainMenuView.php
+++ b/src/view/page/menu/PhabricatorMainMenuView.php
@@ -375,6 +375,7 @@
'uri' => '/conpherence/panel/',
'countType' => 'messages',
'countNumber' => $message_count_number,
+ 'unreadClass' => 'message-unread',
));
$message_notification_dropdown = javelin_tag(
@@ -458,6 +459,7 @@
'uri' => '/notification/panel/',
'countType' => 'notifications',
'countNumber' => $count_number,
+ 'unreadClass' => 'alert-unread',
));
$notification_dropdown = javelin_tag(
diff --git a/webroot/rsrc/js/application/aphlict/behavior-aphlict-dropdown.js b/webroot/rsrc/js/application/aphlict/behavior-aphlict-dropdown.js
--- a/webroot/rsrc/js/application/aphlict/behavior-aphlict-dropdown.js
+++ b/webroot/rsrc/js/application/aphlict/behavior-aphlict-dropdown.js
@@ -49,9 +49,9 @@
JX.DOM.setContent(count, display);
if (response.number === 0) {
- JX.DOM.alterClass(bubble, 'alert-unread', false);
+ JX.DOM.alterClass(bubble, config.unreadClass, false);
} else {
- JX.DOM.alterClass(bubble, 'alert-unread', true);
+ JX.DOM.alterClass(bubble, config.unreadClass, true);
}
dirty = false;
JX.DOM.alterClass(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 7:11 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6909802
Default Alt Text
D12091.id29087.diff (3 KB)
Attached To
Mode
D12091: Conpherence - fix 0 messages in header race condition
Attached
Detach File
Event Timeline
Log In to Comment