Filter build select no longer causes an error. Fixes #421

This commit is contained in:
Mottie 2013-11-16 01:05:50 -06:00
parent 0d1d3d249c
commit 3fede9fe7e

View File

@ -577,7 +577,7 @@ ts.filter = {
$header = c.$headers.filter('[data-column="' + column + '"]:last');
options = '';
if (wo.filter_functions[column] === true && !$header.hasClass('filter-false')) {
ts.filter.buildSelect(column);
ts.filter.buildSelect(table, column);
} else if (typeof column === 'string' && !$header.hasClass('filter-false')) {
// add custom drop down list
for (string in wo.filter_functions[column]) {