benwatts/shopify-theme-radiance — pull request #4 by deniszgonjanin (2013-06-19 08:42:23+00:00)
Title: fix for product form validation not firing when using AJAX addToCart

The issue is caused when using Line Item Properties. If, for example, a text input is added to the product form and we want to mark that input as required, the required validation would be ignored by radiance. This is because the addToCart method was bound to the click event of the 'AddToCart' button. The method is now bound to the submit method of the form itself, which causes the browser to validate the form before allowing it to be submitted.