From 12d50566d09edf2b71feaccdac24bc17b87f8730 Mon Sep 17 00:00:00 2001 From: Koen Reefman Date: Mon, 28 Nov 2016 09:59:16 +0000 Subject: [PATCH] svn path=/Website/trunk/; revision=31693 --- APPL/Localscripts/resultset_table_v2.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/APPL/Localscripts/resultset_table_v2.js b/APPL/Localscripts/resultset_table_v2.js index 1fcaa567f0..a56115fa68 100644 --- a/APPL/Localscripts/resultset_table_v2.js +++ b/APPL/Localscripts/resultset_table_v2.js @@ -295,8 +295,6 @@ function showActions(event) // event op de mouseover van resultsettable $actiondiv.stop().hide(); $actiondiv.delay(100).fadeIn('fast'); event.stopPropagation(); - - var isInline = this.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName === "TD"; var bits = String(this.getAttribute('ACTIONBITS')); // Zet alle actions aan die enabled zijn window.ww = 0; @@ -323,6 +321,9 @@ function showActions(event) // event op de mouseover van resultsettable return; } + var isInline = this.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName === "TD"; + var inlineCorr = isInline ? 30 : 0; + if (useHamb != 0) { if (useHamb != 0) @@ -330,8 +331,6 @@ function showActions(event) // event op de mouseover van resultsettable var hambImg = $(this).find("div.hamburger").children()[0]; - var inlineCorr = isInline ? 30 : 0; - $actiondiv.css('top', $(this).offset().top - inlineCorr); if (hambImg) @@ -344,7 +343,7 @@ function showActions(event) // event op de mouseover van resultsettable else { - $actiondiv.css('top', $(this).offset().top + $(this).outerHeight() - $actiondiv.outerHeight() - 5 + "px"); + $actiondiv.css('top', $(this).offset().top + $(this).outerHeight() - $actiondiv.outerHeight() - 5 - inlineCorr + "px"); var hasActionsCol = $actiondiv.attr("hasActionsCol"); var tdhasact = $(this).find("td")[hasActionsCol];