The start event is working as designed. You may want to look at the sort and change events:
http://docs.jquery.com/UI/Sortable#event-sort http://docs.jquery.com/UI/Sortable#event-change - Richard On Sat, Jan 9, 2010 at 3:55 PM, Amiran <kvintesse...@gmail.com> wrote: > I've got this little script with two sortable that are basically file > folders. When I drag from one list to the other I have to check > whether a file with the same exact name already exists. I cannot check > the list when it's already dropped, because the dom has changed and it > would always return a positive. So I thought I'd save the other list > into an array at the start of the drag and search for the dragged > element inside this array. This is where I encountered a problem: the > start event is not a single event, but a continuous one, which I > thought it logically shouldn't be. When I have: > > start: alert('Sorting starts'); > > ... then the alert will pop up every time I drag the mouse, not only > when the sorting starts. > > Is it supposed to behave like that and should I merely use another > event - or is this a bug? > > -- > You received this message because you are subscribed to the Google Groups > "jQuery UI" group. > To post to this group, send email to jquery...@googlegroups.com. > To unsubscribe from this group, send email to > jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=en. > > > >--
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.