Et2LinkTo: Fix linking to existing file in VFS did not do anything

Onchange was not being set
This commit is contained in:
nathan 2023-02-27 13:25:03 -07:00
parent 5f2ee0d3e5
commit 635780d7d4

View File

@ -241,6 +241,7 @@ export class Et2LinkTo extends Et2InputWidget(ScopedElementsMixin(FormControlMix
}
this.vfs_select = <et2_vfsSelect>et2_createWidget("vfs-select", select_attrs, this);
this.vfs_select.set_readonly(this.readonly);
this.vfs_select.onchange = select_attrs.onchange;
this.vfs_select.getDOMNode().slot = "before";
this.append(this.vfs_select.getDOMNode())