Problem:

When you drag something slowly and not put all sortable thing on  "target"
area, this thing (like list item) "pull out" and its appended on helper div
created on body, see build function.

Solution (Lines 119-130):

       //helpos = jQuery.iUtil.getPos(jQuery.iSort.helper.get(0));
       if (cur && jQuery.iSort.inFrontOf != cur) {
           jQuery.iSort.inFrontOf = cur;
           jQuery(cur).before(jQuery.iSort.helper.get(0));
       } else if(!cur && (jQuery.iSort.inFrontOf != null ||
jQuery.iSort.helper.get(0).parentNode != e) ) {
           jQuery.iSort.inFrontOf = null;
           jQuery(e).append(jQuery.iSort.helper.get(0));
       } else { //added lines came here
           jQuery.iSort.inFrontOf = e; //Solution? maybe good
       }

its late, i'm hungry.... :\ but i think that is a good solution...
So, bye and sorry for my very poor English :)
--
Bastos :cD
from Brazil to the world :D
http://tiago.zusee.com/blog
http://tiago.zusee.com
[EMAIL PROTECTED]
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to