mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
Et2Tree: Stop doubled onclick call
This commit is contained in:
parent
36fd86b312
commit
1b3f6ea95d
@ -940,14 +940,6 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
|
||||
{
|
||||
this.selectedNodes = event.detail.selection
|
||||
}*/
|
||||
if(typeof this.onclick == "function")
|
||||
{
|
||||
// wait for the update, so app founds DOM in the expected state
|
||||
this._tree.updateComplete.then(() =>
|
||||
{
|
||||
this.onclick(nodes[0].id, this, event.detail.previous)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
protected async finishedLazyLoading()
|
||||
|
Loading…
Reference in New Issue
Block a user