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) function hideInlineDetails(thisTR)
{ {
$(thisTR).find(".inlinedetails").toggleClass("closed"); $(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; var thisTABLE = thisTR.parentNode;
if (thisTABLE.nodeName == "TBODY") if (thisTABLE.nodeName == "TBODY")
thisTABLE = thisTABLE.parentNode; // Indien de tabel een <tbody> heeft dan de parent <table> pakken. 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) if (thisTR.inlineVisible)
return hideInlineDetails(thisTR); return hideInlineDetails(thisTR);
$(thisTR).find(".inlinedetails").toggleClass("closed"); $(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; thisTR.inlineVisible = true;
var thisTABLE = thisTR.parentNode; // Parent node kan ook <tbody> zijn var thisTABLE = thisTR.parentNode; // Parent node kan ook <tbody> zijn
if (thisTABLE.nodeName == "TBODY") if (thisTABLE.nodeName == "TBODY")
@@ -187,6 +187,8 @@ function initActions(tableID, hambType)
.on('mouseenter', 'tr', hamburgerMouseOut); .on('mouseenter', 'tr', hamburgerMouseOut);
$("div") $("div")
.on('mouseleave', '.allactions', hamburgerMouseOut); .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; showingInlineDetails = false;
$currentActionsDiv().hide(); $currentActionsDiv().hide();
} }
if (node != "DIV" && node != "TR")
{
alert(node);
}
event.stopPropagation(); event.stopPropagation();
} }

View File

@@ -1252,7 +1252,7 @@ function __rsMakeTableRow(oRs, oRsFlexData, cnt, anyMultiActions, noFlexResult)
ttl = " title ='" + safe.htmlattr(ttl) + "'" ttl = " title ='" + safe.htmlattr(ttl) + "'"
else else
ttl = ""; ttl = "";
appender += "<td class='inlinedetails closed' onclick='return showInlineDetails(this, \"" + inlineDetails+"\")'" + ttl + ">"+L("lcl_shared_inlinecolumnclosed")+"</td>"; appender += "<td class='inlinedetails closed' onclick='return showInlineDetails(this, \"" + inlineDetails+"\")'" + ttl + "><i class='fa fa-fw fa-plus-square-o'></td>";
} }
else else
appender += "<td>"+L("lcl_inlinecolumnnone")+"</td>"; appender += "<td>"+L("lcl_inlinecolumnnone")+"</td>";