CRM-11610 - Search js - Abstract table row highlight/select
[civicrm-core.git] / templates / CRM / Contact / Form / Selector.tpl
index 21a2d27d887eca99dffc16836ac07f7f221c2e11..ba2a5acee939099ef683b49e45f250f28ea8b37a 100644 (file)
     }
     var params = {getCount: cids.length};
     countSelections(params);
-    on_load_init_checkboxes("{/literal}{$form.formName}{literal}");
   });
 function countSelections(obj) {
   var label = cj('label[for*=ts_sel]');
@@ -177,7 +176,6 @@ function countSelections(obj) {
     }
     toggleTaskAction(obj.getCount);
   }
-  on_load_init_checkboxes("{/literal}{$form.formName}{literal}");
 }
 function toggleContactSelection(name, qfKey, selection) {
   var url = CRM.url('civicrm/ajax/markSelection');
@@ -202,6 +200,7 @@ function toggleContactSelection(name, qfKey, selection) {
     params.name = name;
   }
   cj.getJSON(url, params, countSelections);
+  return false;
 }
 {/literal}
 </script>