Bug fix: "Configure this list" was not working on some ,lists (with a ID containing a colon (:) from a Menu)

SVN:trunk[2488]
This commit is contained in:
Denis Flaven
2012-11-30 16:57:37 +00:00
parent 09209533d0
commit a0d267ed2f

View File

@@ -40,7 +40,7 @@ class DataTable
*/
public function __construct($iListId, $oSet, $aClassAliases, $sTableId = null)
{
$this->iListId = $iListId;
$this->iListId = str_replace(array('[', ']', '-', ':'), '_', $iListId); // Make a "safe" ID for jQuery
$this->oSet = $oSet;
$this->aClassAliases = $aClassAliases;
$this->sTableId = $sTableId;