no need to block and unblock, CRM-14201
authorkurund <kurund@civicrm.org>
Sun, 2 Mar 2014 09:11:47 +0000 (14:41 +0530)
committerkurund <kurund@civicrm.org>
Sun, 2 Mar 2014 09:11:47 +0000 (14:41 +0530)
----------------------------------------
* CRM-14201: Contact Relationships tab needs pagination
  http://issues.civicrm.org/jira/browse/CRM-14201

templates/CRM/common/enableDisableApi.tpl

index 9857557de711fefc4b1861f7ec6465192947a60b..86d4f86eb571e10c08130695ec9e102451c96bab 100644 (file)
@@ -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();
             }
           }
         });