mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Et2LinkList: Fix context menu "Save As" gave error
Cannot read properties of undefined (reading 'dispatchEvent')
This commit is contained in:
parent
c9186240c8
commit
2188791540
@ -445,7 +445,7 @@ export class Et2LinkList extends Et2LinkString
|
||||
|
||||
let evt = document.createEvent('MouseEvent');
|
||||
evt.initMouseEvent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||
a[0].dispatchEvent(evt);
|
||||
a.dispatchEvent(evt);
|
||||
a.remove();
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user