- Creation of n-n links with no attributes no longer prompts since it's not needed !

SVN:trunk[519]
This commit is contained in:
Denis Flaven
2010-07-01 14:29:19 +00:00
parent 702a2345f7
commit b298d3eb2e
2 changed files with 26 additions and 5 deletions

View File

@@ -70,7 +70,11 @@ class UILinksWidget
}
}
}
$sAttributes = "['".implode("','", $aAttributes)."']";
$sAttributes = '[]';
if (count($aAttributes) > 0)
{
$sAttributes = "['".implode("','", $aAttributes)."']";
}
if ($oCurrentValuesSet != null)
{
// Serialize the link set into a JSon object