Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8047 closed bug (duplicate)

Object is not deactivate

Reported by: imthehell Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.core Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:


After the drop function is executed, if the accept function of the object no longer return true (because the drop function has changed some paramenters of the dragged object like class ecc.) the object is not deactivated. The problem is this "if":

 if (!this.options.disabled && this.visible &&[0], (draggable.currentItem || draggable.element))) {
                    this.isout = 1; this.isover = 0;
          , event);

the only objects that will be deactivated are those whose the accept function return true. If the accept function no longer return true they remain activated. It should, however, disable all objects in all cases.

Change History (2)

comment:1 Changed 11 years ago by Scott González

Resolution: duplicate
Status: newclosed

comment:2 Changed 11 years ago by Scott González

Duplicate of #8046.

Note: See TracTickets for help on using tickets.