Portal: enable adding dependent attributes in the request creation form -reintegrated from trunk

SVN:1.2.1[2275]
This commit is contained in:
Romain Quetiez
2012-10-17 12:56:41 +00:00
parent dd0c22708c
commit dd61cd1697

View File

@@ -290,7 +290,7 @@ function RequestCreationForm($oP, $oUserOrg)
$oP->add("</div>\n");
$iFieldsCount = count($aFieldsMap);
$sJsonFieldsMap = json_encode($aFieldsMap);
$oP->add_ready_script(
$oP->add_script(
<<<EOF
// Create the object once at the beginning of the page... no state specified => new
var oWizardHelper = new WizardHelper('UserRequest', '');