- Small bug fixes after a quick test by performing a clean installation on Windows/IE 8

SVN:trunk[417]
This commit is contained in:
Denis Flaven
2010-05-16 18:46:19 +00:00
parent d95b941d5a
commit 280c8579be
5 changed files with 23 additions and 12 deletions

View File

@@ -198,7 +198,15 @@ class WizardHelper
public function GetIdForField($sFieldName)
{
return $this->m_aData['m_oFieldsMap'][$sFieldName];
$sResult = '';
// It may happen that the field we'd like to update does not
// exist in the form. For example, if the field should be hidden/read-only
// in the current state of the object
if (isset($this->m_aData['m_oFieldsMap'][$sFieldName]))
{
$sResult = $this->m_aData['m_oFieldsMap'][$sFieldName];
}
return $sResult;
}
static function ParseJsonSet($oMe, $sLinkClass, $sExtKeyToMe, $sJsonSet)