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:
@@ -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 ----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user