FCLT#55557 Floating header factuurregels te laag

svn path=/Website/branches/v2018.2/; revision=40040
This commit is contained in:
Alex Tiehuis
2018-11-29 15:18:18 +00:00
parent d1085d1c79
commit 2e30f1f94b
3 changed files with 6 additions and 2 deletions

View File

@@ -42,6 +42,7 @@ var urlMail = "../shared/queuemail.asp?pcode=FINMAI&defemail_key=-1&key=" + fin_
var fin_key = <%=fin_key%>;
$(function()
{
$("div.divrstable table thead").addClass("float-alone"); // force float without fcltheader
FcltMgr.setTitle(L("lcl_fin_invoice") + " " + <%=fin_key%>, {hot:false});
});

View File

@@ -523,7 +523,7 @@ function do_fcltfilters()
}
}
var elems = { hiddenHeight: function() {return (this.$originalHeaderRow.length? this.fcltHeight+this.histHeight : 0);},
var elems = { hiddenHeight: function() {return (this.$floatingHeaderRow.hasClass("float-alone") ? 0 : (this.$originalHeaderRow.length? this.fcltHeight+this.histHeight : 0));},
headFootRowHeight: function() {return (this.$originalHeaderRow.length? this.$floatingHeaderRow.height()+this.footHeight : this.fcltHeight+this.histHeight+this.fcltPaddingTopBottom());},
fcltPaddingTopBottom: function() {return (parseInt(this.$fcltFrameHeader.css("paddingTop"), 10)+parseInt(this.$fcltFrameHeader.css("paddingBottom"), 10));}
};
@@ -531,7 +531,7 @@ function updateTableHeaders(event) {
$("div.divrstable, body#showbody, body#editbody").each(function() {
elems.$originalHeaderRow = (elems.$originalHeaderRow || $(".tableFloatingHeaderOriginal", this));
elems.$floatingHeaderRow = (elems.$floatingHeaderRow || $(".tableFloatingHeader", this));
elems.$floatingFooterTd = (elems.$floatingFooterTd || $("td.rsfooter", this));
elems.$floatingFooterTd = (elems.$floatingFooterTd || $("td.rsfooter", this));
elems.$fixedFooterRow = (elems.$fixedFooterRow || $("tr.tr-footer-filler", this));
elems.$fixedFooterTd = (elems.$fixedFooterTd || $("td.td-footer-filler", this));

View File

@@ -75,6 +75,9 @@ if (urole != "fe" && canWrite)
<% } %>
<script type="text/javascript">
var anyChange = false; // Voorkom te veel refreshes
$(function() {
$("div.divrstable table thead").addClass("float-alone"); // force float without fcltheader
});
function showCollegaOpdrachten()
{