Shopify/batman — Issue #313: Two way binding of file input throws security error in Firefox
Author: johnthethird
Created: 2012-01-24 01:15:41+00:00
State: open

Due to this line:

https://github.com/Shopify/batman/blob/eedf57aa71/src/batman.coffee#L4645

Batman wont even start up on FF if you have a data bound file input on the page, so we have just removed that dataChange event for now to get it to run on Firefox, since we dont have a need for a 2-way binding for file inputs. I have a failing test for it [1], and if we figure out how to do a 2 way bind to a file input on FF I will send over a pull request.

[1] https://github.com/johnthethird/batman/commit/61c553a090ec9467c878a470404be753bb40a137