$('#mainTabContainer').on('tabsbeforeactivate', function(e, ui) {
// fixme - can't search more than once! Uncomment this code, switching tabs gives qfkey error.
//if (ui.newTab.is('#tab_reserve')) {
$('#mainTabContainer').on('tabsbeforeactivate', function(e, ui) {
// fixme - can't search more than once! Uncomment this code, switching tabs gives qfkey error.
//if (ui.newTab.is('#tab_reserve')) {