Bug Tracker

Opened 14 years ago

Closed 14 years ago

#2256 closed bug (fixed)

Sortable options 'update' and 'stop' do not fire

Reported by: agentrickard Owned by: paul
Priority: major Milestone: 1.2.3
Component: ui Version: 1.2.2
Keywords: jquery-ui 1.0 Cc:
Blocked by: Blocking:



As far as I can tell, the 'start', 'change' and 'sort' optional functions fire correctly. But 'update' and 'stop' do not.

The stopIt() function includes this commented out:

Let's see if the position in DOM has changed if($(self.element).prev()[0] != that.firstSibling) {

$(self.element).triggerHandler("sortupdate", [e, that.prepareCallbackObj(self, that)], o.update);


More information available if needed.

Attachments (1)

index.html (5.3 KB) - added by agentrickard 14 years ago.
Some test code. JS and CSS not attached.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by agentrickard

Attachment: index.html added

Some test code. JS and CSS not attached.

comment:1 Changed 14 years ago by agentrickard

When the above line is uncommented, an exception is thrown because self.pos returns null on line 91.

Commenting out line 91 allows the 'update' function to fire.

position: { left: self.pos[0], top: self.pos[1] },

Not sure what else to do or report here.

comment:2 Changed 14 years ago by paul

Resolution: fixed
Status: newclosed

This is fixed in version 1.5a. Thanks.

Note: See TracTickets for help on using tickets.