From 527f73b675e473d895d5f04be7d04d71c76e0065 Mon Sep 17 00:00:00 2001 From: taggon Date: Fri, 16 Sep 2011 01:34:32 +0000 Subject: [PATCH] Fixed a bug for calculating table row's height git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9170 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/admin/tpl/js/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index e9a0d0422..653071422 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -585,7 +585,7 @@ $.fn.xeSortableTable = function(){ var $this = $(this), o; o = getOffset(this, $table.get(0)); - offsets.push({top:o.top, bottom:o.top+32, $item:$(this)}); + offsets.push({top:o.top, bottom:o.top+$this.height(), $item:$this}); }); $clone