<script type="text/javascript">
{* very crude refresh of tabs - fixme: use datatable native refresh method *}
{literal}
- cj(function($) {
+ CRM.$(function($) {
$('#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')) {