Page selector in Browse foreigners window did not trigger on change

This commit is contained in:
Marc Delisle
2011-01-09 08:07:49 -05:00
parent 76483d6b4d
commit 3ddd2e14ef

View File

@@ -2442,11 +2442,20 @@ $(document).ready(function() {
$('#tableslistcontainer').find('#pageselector').live('change', function() {
$(this).parent("form").submit();
});
/**
* Page selector in navi panel (non-AJAX)
*/
$('#navidbpageselector').find('#pageselector').live('change', function() {
$(this).parent("form").submit();
});
/**
* Page selector in browse_foreigners windows (non-AJAX)
*/
$('#body_browse_foreigners').find('#pageselector').live('change', function() {
$(this).closest("form").submit();
});
}) // end of $(document).ready()