svn path=/Website/trunk/; revision=31693

This commit is contained in:
2016-11-28 09:59:16 +00:00
parent 2018a84c42
commit 12d50566d0

View File

@@ -295,8 +295,6 @@ function showActions(event) // event op de mouseover van resultsettable
$actiondiv.stop().hide(); $actiondiv.stop().hide();
$actiondiv.delay(100).fadeIn('fast'); $actiondiv.delay(100).fadeIn('fast');
event.stopPropagation(); event.stopPropagation();
var isInline = this.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName === "TD";
var bits = String(this.getAttribute('ACTIONBITS')); var bits = String(this.getAttribute('ACTIONBITS'));
// Zet alle actions aan die enabled zijn // Zet alle actions aan die enabled zijn
window.ww = 0; window.ww = 0;
@@ -323,6 +321,9 @@ function showActions(event) // event op de mouseover van resultsettable
return; return;
} }
var isInline = this.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName === "TD";
var inlineCorr = isInline ? 30 : 0;
if (useHamb != 0) if (useHamb != 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 hambImg = $(this).find("div.hamburger").children()[0];
var inlineCorr = isInline ? 30 : 0;
$actiondiv.css('top', $(this).offset().top - inlineCorr); $actiondiv.css('top', $(this).offset().top - inlineCorr);
if (hambImg) if (hambImg)
@@ -344,7 +343,7 @@ function showActions(event) // event op de mouseover van resultsettable
else 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 hasActionsCol = $actiondiv.attr("hasActionsCol");
var tdhasact = $(this).find("td")[hasActionsCol]; var tdhasact = $(this).find("td")[hasActionsCol];