mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
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:
parent
ce6b3690d2
commit
cf7161e2e4
1 changed files with 2 additions and 2 deletions
|
|
@ -458,10 +458,10 @@ $('table.sortable')
|
|||
|
||||
diff = {x:position.x-event.pageX, y:position.y-event.pageY};
|
||||
nTop = offset.top - diff.y;
|
||||
|
||||
|
||||
for(i=0,c=offsets.length; i < c; 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};
|
||||
if(o.top > nTop - 12) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue