mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 14:39:56 +01:00
API/tree: do not check parent treenodes if not expizitly selected
This commit is contained in:
parent
79d4333cec
commit
a9a852d78e
@ -1390,7 +1390,7 @@ class html
|
||||
if ($_onCheckHandler && $_selected) // check selected items on multi selection
|
||||
{
|
||||
if (!is_array($_selected)) $_selected = explode(',',$_selected);
|
||||
if (in_array($path,$_selected,!is_numeric($path))) $entryOptions .= ',CHECKED';
|
||||
if (array_search("$path",$_selected)!==false) $entryOptions .= ',CHECKED';
|
||||
//echo "<p>path=$path, _selected=".print_r($_selected,true).": $entryOptions</p>\n";
|
||||
}
|
||||
// highlight current item
|
||||
|
Loading…
Reference in New Issue
Block a user