-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot access JSON response data in uploadFiles callback #95
Comments
Are you using the latest version? Because If you are, use the App.XDropletComponent = Ember.Component.extend($window.Droplet, {
url: $window.location.origin + '/upload',
hooks: {
didUpload: files => console.log(files)
}
}); |
Thanks. Yes I'm using the last version - though with Ember 1.12.1 as ember-listview is not ready yet for Ember 2.0. This seems to work alright, except for the issue #91 which prevents overriding the default options - and probably the didUpload hook too (I see nothing logged when customizing the hook for now). |
the |
Hello, I tried to follow #26 and your code to access the json callback of the request, with:
but this only sends "undefined", like if the response content was not sent in the callback. Can you explain how to access the response content? Thanks
The text was updated successfully, but these errors were encountered: