Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

JS error when image is dropped onto the target #5

Open
mislav opened this issue Jun 22, 2012 · 2 comments
Open

JS error when image is dropped onto the target #5

mislav opened this issue Jun 22, 2012 · 2 comments

Comments

@mislav
Copy link

mislav commented Jun 22, 2012

The error is:

ReferenceError: Can't find variable: FileReader

It's the same for any image.

Safari 5.1.7/Mac, no Adobe Flash on the system (if that's relevant)

@harthur
Copy link
Owner

harthur commented Jun 27, 2012

Thanks for reporting. Looks like Safari isn't getting the JS File API until v6.

Until then kittydar should definitely add a regular old input="file" selector as backup.

@alastairjepps
Copy link

NetworkError: 404 Not Found - http://harthur.github.com/kittydar/bootstrap-dropdown.js"

if (!file.type.match(imageType)) {

TypeError: file is undefined
http://harthur.github.com/kittydar/demo.js
Line 64

Thats ff/linux btw same on chrome

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants