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

Drag and drop doesn't work #1357

Closed
ragua opened this Issue Jul 23, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@ragua
Copy link

ragua commented Jul 23, 2018

Hello, i am trying to upgrade to mootools 1.6.
Drag and drop doesn't work as function getDroppableCoordinates return a sub-object.
With a correction of the More it works:

	checkDroppables: function(){
		var overed = this.droppables.filter(function(el, i){
//			el = this.positions ? this.positions[i] : this.getDroppableCoordinates(el);
			el = this.positions ? this.positions[i] : this.getDroppableCoordinates(el)[i];
               ...
@ragua

This comment has been minimized.

Copy link
Author

ragua commented Jul 24, 2018

My mistake, sorry.
In another functionality of my application it works well without correction.

@ragua ragua closed this Jul 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.