Replace Event by @GenEvent (OPAL-2241)
Fix OPAL-2241: Cannot upload a file from the file selector
Replace Event by @GenEvent