FIX: Do not destroy $.fileupload element (PR #9888)

conditional-loading-section component rerendered the element and lost the necessary event handlers for jQuery-File-Upload.

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/emoji-adder-issue/152496/5

do we need jquery for this ?

should have a span around

should have a span around too (I know it’s not from the PR :stuck_out_tongue: )

We already use a lot of jQuery around here and rely on jQuery-File-Upload. It will not be going away anytime soon, but I agree with your comment so I will make the changes.

This looks like a nice fix, merging it in.