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

onDrop event only fired if models are set #48

Closed
mattboehm opened this issue Sep 13, 2013 · 1 comment
Closed

onDrop event only fired if models are set #48

mattboehm opened this issue Sep 13, 2013 · 1 comment

Comments

@mattboehm
Copy link

invokeDrop is only called when the following is true:

if (angular.isDefined(angular.element(ui.draggable).attr('ng-model')) && angular.isDefined(angular.element(this).attr('ng-model'))) {

This should not be required for onDrop to fire, or at the very least, this behavior should be documented.

@mattboehm
Copy link
Author

Thanks! 👍

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