Display add item help text after fetching input values. This allows the help text functions
to output help depending on the state of the edited object
This commit is contained in:
committed by
WineHQ
parent
982dc97756
commit
ec8312233c
@@ -258,16 +258,17 @@ class ObjectManager
|
||||
|
||||
$oObject = new $this->sClass();
|
||||
|
||||
/* Display help if it is exists */
|
||||
if(method_exists(new $this->sClass, "objectDisplayAddItemHelp"))
|
||||
$oObject->objectDisplayAddItemHelp();
|
||||
|
||||
/* Display errors, if any, and fetch form data */
|
||||
if($this->displayErrors($sErrors))
|
||||
{
|
||||
global $aClean;
|
||||
$oObject->getOutputEditorValues($aClean);
|
||||
}
|
||||
|
||||
/* Display help if it is exists */
|
||||
if(method_exists(new $this->sClass, "objectDisplayAddItemHelp"))
|
||||
$oObject->objectDisplayAddItemHelp();
|
||||
|
||||
echo "<form method=\"post\">\n";
|
||||
|
||||
$oObject->outputEditor();
|
||||
|
||||
Reference in New Issue
Block a user