Fixed  Some quirks while uploading attachments with JS disabled


Well-known member
1. On any page which shows the WYSIWYG editor (Thread View, Add Reply, Create Thread, etc.), the "Insert every image as a... Thumbnail | Full Image" buttons are shown even though they are not functional.


2. When you click on "Upload a File" button and click on "Upload Attachments" without selecting any file, it results in a fatal php error.

Fatal error: Call to a member function setConstraints() on a non-object
in [...]/library/XenForo/ControllerPublic/Attachment.php on line 175