mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Redirect to short URL after insertDocument, insertComment, etc.
This commit is contained in:
parent
34a86defb6
commit
27cfa4aeba
2 changed files with 5 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class ModuleObject extends Object
|
|||
function setRedirectUrl($url = './', $output = NULL)
|
||||
{
|
||||
$ajaxRequestMethod = array_flip($this->ajaxRequestMethod);
|
||||
if(!isset($ajaxRequestMethod[Context::getRequestMethod()]))
|
||||
if(isset($ajaxRequestMethod[Context::getRequestMethod()]))
|
||||
{
|
||||
$this->add('redirect_url', $url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue