Fix disconnected et2-vfs-mime could stall template load

This commit is contained in:
nathan 2024-08-30 11:06:04 -06:00
parent a8a7456ce5
commit 4fe2398a37

View File

@ -582,7 +582,7 @@ export class et2_vfsUpload extends et2_file
{
let value = sender.getValue && sender.getValue() || sender.options?.value || false;
let row;
if(value)
if(value && value.path)
{
// Have a value, we can find the right place
row = jQuery("[data-path='" + (value.path.replace(/'/g, '&quot')) + "']", this.list);