Awaiting feedback Insert multiple attached videos

Affected version
v2.2.2
I have the Xenforo v2.2.2 and default theme.
I have a problem with insert multiple videos.
1) I press "Post thread";
2) I upload two or more videos;
3) I press "Insert multiple";
4) I press "Select All";
5) I press "Thumbnail" or "Full Image";
6) Nothing happens.

However, if you press on the "Insert" on each video, then it works.
 
What was the format of video you were uploading?

By the way Xenforo don't allow video uploading instead allow to paste link which it embeds later.
 
It's unrelated to XFMG.

Just accept that videos can be uploaded directly to posts and let's put an end to the argument.
 
So this code was actually pretty significantly changed in 2.2 so it seemed very likely that this was broken, but I haven't been able to directly reproduce it. The "full image" insert option works but the "thumbnail" option doesn't. This entirely mimics 2.1.

However, I'm wondering if the issue was a separate UI issue that relates specifically to the "select all" option. If you pressed that and then clicked "thumbnail", the selected attachments would become unselected (because we've now taken the action). However, the "select all" option would remain selected, meaning that the next press would actually toggle selections off. I've adjusted this so its state is reset like the attachments.

Does that seem to be the issue?
 
Top Bottom