mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
Fix editing link remark did not load current value
This commit is contained in:
parent
c26732a913
commit
d7f8f7d997
@ -582,9 +582,10 @@ export class Et2LinkList extends Et2LinkString
|
|||||||
{
|
{
|
||||||
// Append "" to make sure it's a string, not undefined
|
// Append "" to make sure it's a string, not undefined
|
||||||
remark.classList.remove("loading");
|
remark.classList.remove("loading");
|
||||||
// Update internal data
|
// Update internal data & displayed comment
|
||||||
link.comment = comment + "";
|
remark.value = link.remark = comment + "";
|
||||||
remark.value = link.comment;
|
// Update link widget
|
||||||
|
remark.parentElement.querySelector("et2-link").value = link;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user