diff --git a/src/tablefilter_all.js b/src/tablefilter_all.js index 0dfee753..6f7eb8b4 100644 --- a/src/tablefilter_all.js +++ b/src/tablefilter_all.js @@ -4682,9 +4682,10 @@ TF.prototype = { //if the number of columns is the same as before page reload if(flts_values[(flts_values.length-1)] === this.fltIds.length){ for(var i=0; i<(flts_values.length - 1); i++){ - if (flts_values[i]===' '){ + if(flts_values[i]===' '){ continue; } + var s, opt; // if fillSlcOnDemand, drop-down needs to contain stored // value(s) for filtering if(this['col'+i]===this.fltTypeSlc || @@ -4694,48 +4695,52 @@ TF.prototype = { //selects if(slcFltsIndex.tf_Has(i)){ - var opt = tf_CreateOpt( - flts_values[i],flts_values[i],true); + opt = tf_CreateOpt(flts_values[i],flts_values[i],true); slc.appendChild(opt); this.hasStoredValues = true; } //multiple select if(multiFltsIndex.tf_Has(i)){ - var s = flts_values[i].split(' '+this.orOperator+' '); + s = flts_values[i].split(' '+this.orOperator+' '); for(j=0; j= ' + - 'offsetParent.offsetHeight ? 0 - parentNode.parentNode.offsetHeight + '+ - 'offsetParent.offsetHeight + offsetParent.scrollTop : 0);'; + //css below emulates fixed footer on IE<=6 + for(var j=0; j= ' + + 'offsetParent.offsetHeight ? ' + + '0 - parentNode.parentNode.offsetHeight + '+ + 'offsetParent.offsetHeight + offsetParent.scrollTop : 0);'; + } } }, @@ -4873,40 +4897,46 @@ TF.prototype = { =====================================================*/ RemoveFixedHeaders: function(){ if(!this.hasGrid || !this.fixedHeaders ) return; - if( this.contDiv )//IE additional div - { + + if(this.contDiv){ this.contDiv.parentNode.insertBefore(this.tbl, this.contDiv); this.contDiv.parentNode.removeChild( this.contDiv ); this.contDiv = null; var thead = tf_Tag(this.tbl,'thead'); - if( thead.length==0 ) return; + if(thead.length===0){ + return; + } var theadTr = tf_Tag(thead[0],'tr'); - if( theadTr.length==0 ) return; - for(var i=0; i