Set a default of 3 rows for filterheaders to avoid vertical scroll in header

This commit is contained in:
Nathan Gray 2016-05-09 19:38:31 +00:00
parent aa2d9c19bd
commit 4dd1fd6368

View File

@ -3272,7 +3272,8 @@ var et2_nextmatch_filterheader = (function(){ "use strict"; return et2_taglist.e
this.nextmatch.applyFilters({col_filter: col_filter}); this.nextmatch.applyFilters({col_filter: col_filter});
} }
} },
rows: { default: 3}
}, },
/** /**
@ -3310,7 +3311,7 @@ var et2_nextmatch_filterheader = (function(){ "use strict"; return et2_taglist.e
// Make sure selectbox is not longer than the column // Make sure selectbox is not longer than the column
resize: function() { resize: function() {
this.input.css("max-width",jQuery(this.parentNode).innerWidth() + "px"); this.div.css("max-width",jQuery(this.parentNode).innerWidth() + "px");
} }
});}).call(this); });}).call(this);
@ -3343,7 +3344,8 @@ var et2_nextmatch_accountfilterheader = (function(){ "use strict"; return et2_ta
this.nextmatch.applyFilters({col_filter: col_filter}); this.nextmatch.applyFilters({col_filter: col_filter});
} }
} },
rows: { default: 3}
}, },
/** /**
@ -3383,7 +3385,7 @@ var et2_nextmatch_accountfilterheader = (function(){ "use strict"; return et2_ta
{ {
max -= jQuery(surroundings[i]).outerWidth(); max -= jQuery(surroundings[i]).outerWidth();
} }
this.input.css("max-width",max + "px"); this.div.css("max-width",max + "px");
} }
});}).call(this); });}).call(this);