Fixed a regression: autocomplete not working due to a change in the execution of the script rendered in Ajax

SVN:code[168]
This commit is contained in:
Romain Quetiez
2009-09-16 15:00:40 +00:00
parent 427a8eb596
commit 152b97a24a
3 changed files with 4 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ switch($operation)
$oWizardHelper->SetAllowedValuesHtml($sAttCode, $sHTMLValue);
}
$oPage->add("<script type=\"text/javascript\">\noWizardHelper.m_oData=".$oWizardHelper->ToJSON().";\n</script>\n");
$oPage->add("<script type=\"text/javascript\">\noWizardHelper.m_oData=".$oWizardHelper->ToJSON().";\noWizardHelper.UpdateFields();\n</script>\n");
break;
case 'ajax':