mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix swapped open / closed icons in tree
This commit is contained in:
parent
9722716d1a
commit
56f84f2fdd
@ -918,7 +918,8 @@ export class et2_tree extends et2_inputWidget
|
||||
*/
|
||||
setImages(_leaf? : string, _closed? : string, _open? : string, _id? : string)
|
||||
{
|
||||
let images = [_leaf || 'dhtmlxtree/leaf', _closed || 'dhtmlxtree/folderClosed', _open || 'dhtmlxtree/folderOpen'];
|
||||
// NOTE: The image order for open/closed as documented in dhtmltree is backwards
|
||||
let images = [_leaf || 'dhtmlxtree/leaf', _open || 'dhtmlxtree/folderOpen', _closed || 'dhtmlxtree/folderClosed'];
|
||||
let image_extensions = /\.(gif|png|jpe?g|svg)/i;
|
||||
for(let i = 0; i < 3; ++i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user