mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Et2LinkTo: Fix Link button did not show after selecting an entry
Broken by ba744d3292
This commit is contained in:
parent
a127860ad6
commit
e596d60395
@ -437,7 +437,10 @@ export class Et2LinkTo extends Et2InputWidget(LitElement)
|
||||
handleEntrySelected(event)
|
||||
{
|
||||
// Could be the app, could be they selected an entry
|
||||
if(event.target == this.select._searchNode)
|
||||
if(event.target == this.select && (
|
||||
typeof this.select.value == "string" && this.select.value ||
|
||||
typeof this.select.value == "object" && this.select.value.id
|
||||
))
|
||||
{
|
||||
this.classList.add("can_link");
|
||||
this.link_button.focus();
|
||||
|
Loading…
Reference in New Issue
Block a user