Skip to content
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

event.targetScope.fileName is undefined #6

Open
ThijsWouters opened this issue May 27, 2014 · 1 comment
Open

event.targetScope.fileName is undefined #6

ThijsWouters opened this issue May 27, 2014 · 1 comment

Comments

@ThijsWouters
Copy link

When the file-dropzone-drop-event is emitted, event.targetScope.fileName is undefined.
This is due to this line:

 scope.fileName = name if angular.isString scope.fileName

Why is this check needed?

@ThijsWouters
Copy link
Author

I already found another way to get the file name. I needed to pass the data to the event listener.
But still, in the scope this field is still undefined.

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

No branches or pull requests

1 participant