From f22f004bf6349b39b048b80406dc73f3490bf597 Mon Sep 17 00:00:00 2001 From: kurund Date: Sun, 2 Mar 2014 14:41:47 +0530 Subject: [PATCH] no need to block and unblock, CRM-14201 ---------------------------------------- * CRM-14201: Contact Relationships tab needs pagination http://issues.civicrm.org/jira/browse/CRM-14201 --- templates/CRM/common/enableDisableApi.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/CRM/common/enableDisableApi.tpl b/templates/CRM/common/enableDisableApi.tpl index 9857557de7..86d4f86eb5 100644 --- a/templates/CRM/common/enableDisableApi.tpl +++ b/templates/CRM/common/enableDisableApi.tpl @@ -38,9 +38,8 @@ $('table.dataTable').each(function () { var currentTable = $(this); if (currentTable.prop('id') != $table.prop('id')) { - currentTable.block(); if ($.fn.DataTable.fnIsDataTable(currentTable[0]) && currentTable.dataTable().fnSettings().sAjaxSource) { - $(this).unblock().dataTable().fnDraw(); + currentTable.dataTable().fnDraw(); } } }); -- 2.25.1