FCLT#56820 We willen nog steeds dat een defaultactie wel met een 'pointer' cursor wordt aangeduid bij een mouseover op die rij

svn path=/Website/trunk/; revision=41354
This commit is contained in:
2019-03-06 14:59:54 +00:00
parent 1f81c2c557
commit f1daff7c54

View File

@@ -376,16 +376,17 @@ function hambSetCursor(event)
if (this.getAttribute("ROWKEY") == null) return;
// if (window.activerow == null) then $currentActionsDiv() has not been determined yet
// if ($currentActionsDiv() is visible) then we don't want to change window.activerow
if (window.activerow != null && $currentActionsDiv().css("display") != "none") return;
window.activerow = this;
if (window.activerow == null || $currentActionsDiv().css("display") == "none")
window.activerow = this;
var $actiondiv = $currentActionsDiv();
event.stopPropagation();
var bits = String(this.getAttribute('ACTIONBITS'));
var thisRow = this;
$actiondiv.find("span.ia2").each(function (i)
{
if (bits.substr(i,1) == 1 && this.getAttribute("isdefault") == 1)
$(window.activerow).css("cursor", "pointer");
$(thisRow).css("cursor", "pointer");
});
}