#1095 Object creation form and bulk modify (final step) not working when using apache-proxy

SVN:trunk[3673]
This commit is contained in:
Romain Quetiez
2015-08-12 09:21:19 +00:00
parent cfe9675709
commit b87b33c955

View File

@@ -2043,7 +2043,7 @@ EOF
$aFieldsMap = array();
if (!isset($aExtraParams['action']))
{
$sFormAction = $_SERVER['SCRIPT_NAME']; // No parameter in the URL, the only parameter will be the ones passed through the form
$sFormAction = utils::GetAbsoluteUrlAppRoot().'pages/'.$this->GetUIPage(); // No parameter in the URL, the only parameter will be the ones passed through the form
}
else
{
@@ -3672,7 +3672,7 @@ EOF
$oP->Table($aHeaders, $aRows);
if ($bPreview)
{
$sFormAction = $_SERVER['SCRIPT_NAME']; // No parameter in the URL, the only parameter will be the ones passed through the form
$sFormAction = utils::GetAbsoluteUrlAppRoot().'pages/UI.php'; // No parameter in the URL, the only parameter will be the ones passed through the form
// Form to submit:
$oP->add("<form method=\"post\" action=\"$sFormAction\" enctype=\"multipart/form-data\">\n");
$aDefaults = utils::ReadParam('default', array());