--- ajaxtable/ajaxtable.module 2008-01-09 19:48:35.000000000 -0600
+++ sites/all/modules/ajaxtable/ajaxtable.module 2009-05-19 16:44:47.000000000 -0500
@@ -551,9 +551,9 @@ function _ajaxtable_render($table,$id,$u
// When enter is pressed, don't submit the form (if table is used as input)
//if (window.event.keyCode == 13) { ' . $js_call . "}
$keypress_search = 'if (event.which == 13) {' .$js_call . ';return false;}';
+ $onchange_search .= ' onchange="' . $js_call . '" ';
if ($table['autosearch'] && !$table['refresh_search']) {
$keyup_search .= ' onkeyup="' . $js_call . '" ';
- $onchange_search .= ' onchange="' . $js_call . '" ';
$search_button = '';
} else {
$js_call = ' onclick="' . $js_call . '" ';
@@ -1072,6 +1072,21 @@ function ajaxtable_search_inputs($search
$input['type'] = 'text';
}
switch ($input['type']) {
+ case 'select':
+ $options = '