zurb/foundation — pull request #970 by EnigmaSolved (2012-10-01 16:48:06+00:00)
Title: fix custom form elements exclusion

I went looking for (and found!) the undocumented feature of the Custom Forms that if you add `data-customforms="disabled"` to an element in a custom form it will not be converted into the Foundation Custom version. This is useful for instances when the developer wishes to use a particular form field in a different manner (eg, apply some other kind of custom form code to the field, which in my case will be the FD Slider: https://github.com/freqdec/fd-slider). However, I discovered that the change I've made for this Pull Request is necessary for it to fully work. Without this change it only half-way works (the elements correctly are ignored for transformation, but the `click` event is still set which causes errors, etc.