Add mail support to generic transactions

Summary:
  - Adds mail support to the generic transaction construct.
  - Restores mail support to Pholio (now much improved; the mails are actually useful).

Test Plan: Updated a Pholio mock, got mail.

Reviewers: btrahan, chad, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2104

Differential Revision: https://secure.phabricator.com/D4139
This commit is contained in:
epriestley
2012-12-11 14:00:07 -08:00
parent 7341c74276
commit 1d5ace45bd
4 changed files with 282 additions and 85 deletions

View File

@@ -112,14 +112,16 @@ JX.behavior('phabricator-nav', function(config) {
// When the user scrolls down on the desktop, we move the local nav up until
// it hits the top of the page.
JX.Stratcom.listen(['scroll', 'resize'], null, function(e) {
if (JX.Device.getDevice() != 'desktop') {
return;
}
if (local) {
JX.Stratcom.listen(['scroll', 'resize'], null, function(e) {
if (JX.Device.getDevice() != 'desktop') {
return;
}
var y = Math.max(0, config.menuSize - JX.Vector.getScroll().y);
local.style.top = y + 'px';
});
var y = Math.max(0, config.menuSize - JX.Vector.getScroll().y);
local.style.top = y + 'px';
});
}
// - Navigation Reset ----------------------------------------------------------