mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-21 21:02:02 +01:00
Et2VfsSelectDialog: Fix double click closed without selecting file
This commit is contained in:
parent
5209ff8e4b
commit
4153103324
@ -594,10 +594,10 @@ export class Et2VfsSelectDialog
|
||||
// Not a dir, just select it
|
||||
this.handleFileClick(event);
|
||||
|
||||
// If we only want one, we've got it. Close.
|
||||
// If we only want one, we've got it. Close by clicking the primary button
|
||||
if(!this.multiple)
|
||||
{
|
||||
this.hide();
|
||||
this.shadowRoot.querySelector('et2-button[variant="primary"]')?.click();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user