After we migrated to 2.2.1 in Roundcube 1.2 I see specified issue. Steps:
- Open a dialog (e.g. calendar event dialog)
- Goto attachments tab and upload a file. Works.
- Switch a tab or close the dialog and observe "fileuploaderror" popup.
I opened the ticket at https://github.com/jquery/jquery/issues/2977