- Fixed Trac #249: loosing links when modifying a SLA !

SVN:trunk[789]
This commit is contained in:
Denis Flaven
2010-09-07 10:33:33 +00:00
parent 2aed08ccd3
commit f68a00c5f6

View File

@@ -108,6 +108,7 @@ class UILinksWidget
$sNameSuffix = "]"; // To make a tabular form
$aArgs['prefix'] = $sPrefix;
$aRow['form::checkbox'] = "<input class=\"selection\" type=\"checkbox\" onChange=\"oWidget".self::$iWidgetIndex.".OnSelectChange();\" value=\"$key\">";
$aRow['form::checkbox'] .= "<input type=\"hidden\" name=\"attr_{$sPrefix}id{$sNameSuffix}\" value=\"$key\">";
foreach($this->m_aEditableFields as $sFieldCode)
{
$oAttDef = MetaModel::GetAttributeDef($this->m_sLinkedClass, $sFieldCode);