Fix race condition with dispatcher.js See merge request !13377
Attach a file by drag & drop or click to upload