Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
PHP
1234567891011121314151617181920<?php
/** * When actions happen over a JX.Workflow, we may want to reload the page * if the action is javascript-driven but redirect if it isn't. This preserves * query parameters in the javascript case. A reload response behaves like * a redirect response but causes a page reload when received via workflow. */final class AphrontReloadResponse extends AphrontRedirectResponse {
public function getURI() { if ($this->getRequest()->isAjax()) { return null; } else { return parent::getURI(); } }
}