PNBR#56300 Scrollen in Reserveringen gaat erg hakkelend en traag in Internet Explorer
svn path=/Website/branches/v2018.2/; revision=40769
This commit is contained in:
@@ -528,14 +528,14 @@ function do_fcltfilters()
|
||||
}
|
||||
}
|
||||
|
||||
var is_internet_explorer = (navigator.userAgent.indexOf("MSIE ") != -1 || !!navigator.userAgent.match(/Trident.*rv\:11\./));
|
||||
var is_ie_or_edge = (document.documentMode || /Edge/.test(navigator.userAgent));
|
||||
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));}
|
||||
};
|
||||
function updateTableHeaders(event) {
|
||||
$("div.divrstable, body#showbody, body#editbody").each(function() {
|
||||
if (is_internet_explorer && $(".tableFloatingHeader", this).hasClass("float-alone"))
|
||||
if (is_ie_or_edge && $(".tableFloatingHeader", this).hasClass("float-alone"))
|
||||
{ // Prevent floating headers and footer in case of Internet Explorer: legacy 2018.1
|
||||
var $originalHeaderRow = $(".tableFloatingHeaderOriginal", this);
|
||||
var $floatingHeaderRow = $(".tableFloatingHeader", this);
|
||||
|
||||
Reference in New Issue
Block a user