ci-bonfire/Bonfire — Issue #240: File upload jquery.form.js
Author: shobo
Created: 2011-10-18 10:30:10+00:00
State: open

I'm running into some issues with the create and edit pages for a custom module.

If I'm adding a file input element to my form, the form cannot be submitted. I'm getting an javascript alert which says:
> Form elements must not have name or id "submit"
I tracked this down to jquery.form.js line 186.

If i change the input button name to save for example, it works, but the template library doesn't seem to detect that it's an ajax call and it renders the default template. Also, the ajax.Stop function doesn't seem to be triggered and the loader doesn't dissapear.

I tried this on a clean bonfire install in google chrome and firefox.