Fixed sortable table action

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8906 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-08-26 05:09:40 +00:00
parent ce6b3690d2
commit cf7161e2e4

View file

@ -461,7 +461,7 @@ $('table.sortable')
for(i=0,c=offsets.length; i < c; i++) { for(i=0,c=offsets.length; i < c; i++) {
o = offsets[i]; o = offsets[i];
if(o.top > nTop || o.bottom < nTop) continue; if( (i && o.top > nTop) || ((i < c-1) && o.bottom < nTop)) continue;
dropzone = {element:o.$item}; dropzone = {element:o.$item};
if(o.top > nTop - 12) { if(o.top > nTop - 12) {