BUG-13950 SOLVED Cuando se usa caracteres Chinos como título de varios procesos la sección:

HOME / New Case / {dbl-click} 
Al seleccionar un nodo este siempre salta al último nodo del TreeView.
This commit is contained in:
Roly Rudy Gutierrez Pinto
2014-02-03 09:45:31 -04:00
parent fe29619458
commit 0fa978d3c8

View File

@@ -70,7 +70,7 @@ function getProcessList ()
if (1) {
foreach ($processList as $key => $processInfo) {
$tempTree['text'] = $key;
$tempTree['id'] = preg_replace('([^A-Za-z0-9])', '', $key);
$tempTree['id'] = md5($key);
$tempTree['cls'] = 'folder';
$tempTree['draggable'] = true;
$tempTree['optionType'] = "category";
@@ -87,7 +87,7 @@ function getProcessList ()
//print_r($processInfo);
$tempTreeChild['text'] = htmlentities($keyChild, ENT_QUOTES, 'UTF-8'); //ellipsis ( $keyChild, 50 );
//$tempTree['text']=$key;
$tempTreeChild['id'] = preg_replace('([^A-Za-z0-9 ()])', '', $keyChild);
$tempTreeChild['id'] = md5($keyChild);
$tempTreeChild['draggable'] = true;
$tempTreeChild['leaf'] = true;
$tempTreeChild['icon'] = '/images/icon.trigger.png';