FSN#32007 Find-as-you-type pas vanaf 5 regels en niet bij collapsed

svn path=/Website/trunk/; revision=24470
This commit is contained in:
Jos Groot Lipman
2015-03-16 19:09:07 +00:00
parent fd284e3546
commit b451517bbf
2 changed files with 5 additions and 1 deletions

View File

@@ -31,10 +31,11 @@ function doFilter(deze)
});
}
if (window.$)
$(document).ready(function() {
if (typeof(postformHTML)!="undefined") $("body").append(postformHTML);
if ($('table.rstable>tbody>tr').length)
if ($('table.rstable>tbody>tr').length > 4)
{
$("#iframerextratitle").after("<input id='autofilter' type='text' placeholder='"+L("lcl_autofilter")+"'>");
$("#autofilter")

View File

@@ -455,6 +455,9 @@ div.fcltframe {
top: -2px;
margin-left: 10px;
}
div.collapsed #autofilter {
display: none
}
div.fcltframeheader {
font-size: 1.2em;