浏览代码

Fix for the validation of the forms in the portal. The (lack of) localization was breaking it!

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2970 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 11 年之前
父节点
当前提交
5eb7383cca
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/portalwebpage.class.inc.php

+ 1 - 0
application/portalwebpage.class.inc.php

@@ -64,6 +64,7 @@ class PortalWebPage extends NiceWebPage
 		$sAbsURLModulesRoot = addslashes(utils::GetAbsoluteUrlModulesRoot()); // Pass it to Javascript scripts
 		$sAbsURLModulesRoot = addslashes(utils::GetAbsoluteUrlModulesRoot()); // Pass it to Javascript scripts
 		$oAppContext = new ApplicationContext();
 		$oAppContext = new ApplicationContext();
 		$sAppContext = addslashes($oAppContext->GetForLink());
 		$sAppContext = addslashes($oAppContext->GetForLink());
+		$this->add_dict_entry('UI:FillAllMandatoryFields');
 		if ($sAlternateStyleSheet != '')
 		if ($sAlternateStyleSheet != '')
 		{
 		{
 			$this->add_linked_stylesheet("../portal/$sAlternateStyleSheet/portal.css");
 			$this->add_linked_stylesheet("../portal/$sAlternateStyleSheet/portal.css");