mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Fix wrong ID in VFS select customfield handler
This commit is contained in:
parent
8a145744a1
commit
4333429602
@ -958,8 +958,8 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
|||||||
{
|
{
|
||||||
document.querySelectorAll('et2-link-list').forEach(l => {l.get_links();});
|
document.querySelectorAll('et2-link-list').forEach(l => {l.get_links();});
|
||||||
const info = e.target._dialog.fileInfo(e.target.value);
|
const info = e.target._dialog.fileInfo(e.target.value);
|
||||||
e.target.getParent().getWidgetById("#filemanager")?._addFile(info);
|
e.target.getParent().getWidgetById(attrs.id)?._addFile(info);
|
||||||
e.target.getParent().getWidgetById("#filemanager").getDOMNode().classList.remove("hideme");
|
e.target.getParent().getWidgetById(attrs.id).getDOMNode().classList.remove("hideme");
|
||||||
});
|
});
|
||||||
jQuery(widget.getDOMNode(widget)).css('vertical-align','top').prependTo(cf);
|
jQuery(widget.getDOMNode(widget)).css('vertical-align','top').prependTo(cf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user