mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-19 03:01:11 +01:00
Update Help for handleRequest
Summary: Updates Help for handleRequest Test Plan: Launch help dialog, close dialog Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8628 Differential Revision: https://secure.phabricator.com/D13772
This commit is contained in:
parent
e5bf2ac373
commit
deb06727ea
2 changed files with 5 additions and 7 deletions
|
@ -7,9 +7,8 @@ final class PhabricatorHelpEditorProtocolController
|
|||
return true;
|
||||
}
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
$viewer = $request->getUser();
|
||||
public function handleRequest(AphrontRequest $request) {
|
||||
$viewer = $request->getViewer();
|
||||
|
||||
$dialog = id(new AphrontDialogView())
|
||||
->setUser($viewer)
|
||||
|
|
|
@ -7,9 +7,8 @@ final class PhabricatorHelpKeyboardShortcutController
|
|||
return true;
|
||||
}
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
$user = $request->getUser();
|
||||
public function handleRequest(AphrontRequest $request) {
|
||||
$viewer = $request->getViewer();
|
||||
|
||||
$keys = $request->getStr('keys');
|
||||
try {
|
||||
|
@ -59,7 +58,7 @@ final class PhabricatorHelpKeyboardShortcutController
|
|||
$rows);
|
||||
|
||||
$dialog = id(new AphrontDialogView())
|
||||
->setUser($user)
|
||||
->setUser($viewer)
|
||||
->setTitle(pht('Keyboard Shortcuts'))
|
||||
->appendChild($table)
|
||||
->addCancelButton('#', pht('Close'));
|
||||
|
|
Loading…
Reference in a new issue