Make auto_reload work on OQL menus

Fix for table configuration for tables resutling from an OQL menu

SVN:trunk[2531]
This commit is contained in:
Denis Flaven
2012-12-06 09:47:53 +00:00
parent 5b8dc80779
commit 4804a2994e
4 changed files with 19 additions and 13 deletions

View File

@@ -840,6 +840,16 @@ class utils
{
return $sProposed;
}
}
}
/**
* Some characters cause troubles with jQuery when used inside DOM IDs, so let's replace them by the safe _ (underscore)
* @param string $sId The ID to sanitize
* @return string The sanitized ID
*/
static public function GetSafeId($sId)
{
return str_replace(array(':', '[', ']', '+', '-'), '_', $sId);
}
}
?>