FSN#35094 nieuwe icons (exit paperclip)

svn path=/Website/trunk/; revision=31484
This commit is contained in:
Peter Feij
2016-11-16 08:01:02 +00:00
parent 480011d63b
commit 242462713a
2 changed files with 9 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ function largerWhenInIFrame()
function hideInlineDetails(thisTR)
{
$(thisTR).find(".inlinedetails").toggleClass("closed");
$(thisTR).find(".inlinedetails").html(L("lcl_shared_inlinecolumnclosed"));
$(thisTR).find(".inlinedetails").html("<i class='fa fa-fw fa-plus-square-o'>");
var thisTABLE = thisTR.parentNode;
if (thisTABLE.nodeName == "TBODY")
thisTABLE = thisTABLE.parentNode; // Indien de tabel een <tbody> heeft dan de parent <table> pakken.
@@ -124,7 +124,7 @@ function showInlineDetails(thisTD, strfnURL, position)
if (thisTR.inlineVisible)
return hideInlineDetails(thisTR);
$(thisTR).find(".inlinedetails").toggleClass("closed");
$(thisTR).find(".inlinedetails").html(L("lcl_shared_inlinecolumnopen"));
$(thisTR).find(".inlinedetails").html("<i class='fa fa-fw fa-minus-square-o'>");
thisTR.inlineVisible = true;
var thisTABLE = thisTR.parentNode; // Parent node kan ook <tbody> zijn
if (thisTABLE.nodeName == "TBODY")
@@ -187,6 +187,8 @@ function initActions(tableID, hambType)
.on('mouseenter', 'tr', hamburgerMouseOut);
$("div")
.on('mouseleave', '.allactions', hamburgerMouseOut);
// $(document).add(parent.document).add(parent.parent.document).mouseleave(hamburgerMouseOut);
// $(document).add(parent.document).add(parent.parent.document).mouseenter(hamburgerMouseOut);
}
}
});
@@ -201,6 +203,10 @@ function hamburgerMouseOut(event)
showingInlineDetails = false;
$currentActionsDiv().hide();
}
if (node != "DIV" && node != "TR")
{
alert(node);
}
event.stopPropagation();
}