Reputation: 8389
A simple
<input type="file">
is not working in Google Chrome Extension.. Why?
Upvotes: 0
Views: 1633
Reputation: 1127
Using the file input on a popup is buggy on some systems with chrome. See http://code.google.com/p/chromium/issues/detail?id=61632
If you're using a popup and need a file input, the workaround im using is:
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.create({'url': chrome.extension.getURL('init.html')});
});
Upvotes: 1