From 416e40bbcd72e1bca2aa9f51515f51e88e344c73 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 27 Apr 2010 13:19:31 +0000
Subject: [PATCH] - Patch #737632 by Georg, casey, aspilicious: menu children
 take top of left region or not at all in IE.

---
 misc/tabledrag.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/tabledrag.js b/misc/tabledrag.js
index 8d378e2cc937..6dcc28092571 100644
--- a/misc/tabledrag.js
+++ b/misc/tabledrag.js
@@ -516,7 +516,7 @@ Drupal.tableDrag.prototype.getMouseOffset = function (target, event) {
  *   The y coordinate of the mouse on the page (not the screen).
  */
 Drupal.tableDrag.prototype.findDropTargetRow = function (x, y) {
-  var rows = this.table.tBodies[0].rows;
+  var rows = $(this.table.tBodies[0].rows).not(':hidden');
   for (var n = 0; n < rows.length; n++) {
     var row = rows[n];
     var indentDiff = 0;
-- 
GitLab