1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Fix Aphlict routable

Summary: This was broken in D9380 and caused notifications to stop working.

Test Plan: Saw notifications.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9395
This commit is contained in:
Joshua Spence 2014-06-05 11:35:18 -07:00 committed by epriestley
parent dbebfea9cc
commit 93f68a07e4
2 changed files with 17 additions and 17 deletions

View file

@ -8,7 +8,7 @@ return array(
'names' =>
array(
'core.pkg.css' => 'd9c53a92',
'core.pkg.js' => 'b6689fe1',
'core.pkg.js' => 'd7e1141d',
'darkconsole.pkg.js' => 'ca8671ce',
'differential.pkg.css' => '4a93db37',
'differential.pkg.js' => 'eca39a2c',
@ -337,7 +337,7 @@ return array(
'rsrc/image/texture/table_header_tall.png' => 'd56b434f',
'rsrc/js/application/aphlict/Aphlict.js' => '493665ee',
'rsrc/js/application/aphlict/behavior-aphlict-dropdown.js' => '2a2dba85',
'rsrc/js/application/aphlict/behavior-aphlict-listen.js' => 'bc75da74',
'rsrc/js/application/aphlict/behavior-aphlict-listen.js' => '258e4342',
'rsrc/js/application/auth/behavior-persona-login.js' => '9414ff18',
'rsrc/js/application/config/behavior-reorder-fields.js' => '938aed89',
'rsrc/js/application/conpherence/behavior-menu.js' => '7ee23816',
@ -528,7 +528,7 @@ return array(
'javelin-aphlict' => '493665ee',
'javelin-behavior' => '8a3ed18b',
'javelin-behavior-aphlict-dropdown' => '2a2dba85',
'javelin-behavior-aphlict-listen' => 'bc75da74',
'javelin-behavior-aphlict-listen' => '258e4342',
'javelin-behavior-aphront-basic-tokenizer' => 'b3a4b884',
'javelin-behavior-aphront-crop' => 'b98fc918',
'javelin-behavior-aphront-drag-and-drop-textarea' => '4a11ea9c',
@ -989,6 +989,18 @@ return array(
2 => 'javelin-stratcom',
3 => 'phuix-dropdown-menu',
),
'258e4342' =>
array(
0 => 'javelin-behavior',
1 => 'javelin-aphlict',
2 => 'javelin-stratcom',
3 => 'javelin-request',
4 => 'javelin-uri',
5 => 'javelin-dom',
6 => 'javelin-json',
7 => 'javelin-router',
8 => 'phabricator-notification',
),
'263aeb8c' =>
array(
0 => 'javelin-behavior',
@ -1698,18 +1710,6 @@ return array(
5 => 'javelin-workflow',
6 => 'javelin-vector',
),
'bc75da74' =>
array(
0 => 'javelin-behavior',
1 => 'javelin-aphlict',
2 => 'javelin-stratcom',
3 => 'javelin-request',
4 => 'javelin-uri',
5 => 'javelin-dom',
6 => 'javelin-json',
7 => 'javelin-router',
8 => 'phabricator-notification',
),
'bd0aedcd' =>
array(
0 => 'javelin-install',

View file

@ -33,11 +33,11 @@ JX.behavior('aphlict-listen', function(config) {
break;
case 'receive':
var routable = new JX.Request(
var request = new JX.Request(
'/notification/individual/',
onnotification);
routable
var routable = request
.addData({key: message.key})
.getRoutable();