mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 22:29:55 +09:00
issue 160, fixed a bug for always redirect to dispBoardAdminCategoryInfo after add category on module that not "board"
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9365 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
27e5baf6f2
commit
5b5dc62511
2 changed files with 2 additions and 1 deletions
|
|
@ -1169,7 +1169,7 @@ class documentController extends document {
|
|||
$this->add('parent_srl', $args->parent_srl);
|
||||
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispBoardAdminCategoryInfo', 'module_srl', $args->module_srl);
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : Context::get('error_return_url');
|
||||
header('location:'.$returnUrl);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
<input type="hidden" name="act" value="procDocumentInsertCategory" />
|
||||
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
|
||||
<input type="hidden" name="xml_file" value="{$category_xml_file}" />
|
||||
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
|
||||
<div id="category_info"></div>
|
||||
</form>
|
||||
<div id="menu">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue