mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 21:22:26 +01:00
Do not force tree node to state of open if we are using autoloading
This commit is contained in:
parent
8285fb7666
commit
422a341513
@ -374,7 +374,10 @@ var et2_tree = et2_inputWidget.extend(
|
|||||||
for(var i = 0; i < this.value.length; i++)
|
for(var i = 0; i < this.value.length; i++)
|
||||||
{
|
{
|
||||||
this.input.setCheck(this.value[i], true);
|
this.input.setCheck(this.value[i], true);
|
||||||
this.input.openItem(this.value[i]);
|
// autoloading openning needs to be absolutely based on user interaction
|
||||||
|
// or open flag in folder structure, therefore, We should
|
||||||
|
// not force it to open the node
|
||||||
|
if (!this.options.autoloading) this.input.openItem(this.value[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user