mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 12:55:08 +02:00
Fix editing link remark did not load current value
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user