benwatts/shopify-theme-radiance — pull request #6 by deniszgonjanin (2013-08-30 18:48:59+00:00)
Title: When a form contains a file upload, prevent ajax Add to Cart

If the Product form contains attribute enctype="multipart/form-data", it means that it probably contains a file upload. Since file uploads don't work with Ajax, let's disable Ajax when this attribute is detected.

This allows merchants to keep using the Ajax feature for all their products where file uploads are not needed. Currently, the merchant has to disable Ajax for all products, even if only one of their products contains a file upload input.