editor module config change from procfilter to post

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9746 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-10-26 01:50:56 +00:00
parent a8886b674b
commit 79747faf80
2 changed files with 8 additions and 2 deletions

View file

@ -144,7 +144,12 @@
}
$this->setError(-1);
$this->setMessage('success_updated');
$this->setMessage('success_updated', 'info');
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispBoardAdminContent');
$this->setRedirectUrl($returnUrl);
return;
}
}
/**

View file

@ -1,6 +1,7 @@
<!--%import("filter/insert_editor_module_config.xml")-->
<load target="js/editor_module_config.js" usecdn="true" />
<form action="./" method="post" onsubmit="return procFilter(this, insert_editor_module_config)" class="form">
<form action="./" method="post" class="form">
<input type="hidden" name="act" value="procEditorInsertModuleConfig" />
<input type="hidden" name="module" value="editor" />
<input type="hidden" name="target_module_srl" value="{$module_info->module_srl?$module_info->module_srl:$module_srls}" />
<h3 class="h3">{$lang->editor}</h3>