From a6e1e9b748e01c82ddb60ff7b35faca5c511bb15 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 5 Jun 2014 22:46:01 +0100 Subject: [PATCH] CRM-14737 - Search js - clear row-highlight class when clearing checkboxes --- templates/CRM/Contact/Form/Selector.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contact/Form/Selector.tpl b/templates/CRM/Contact/Form/Selector.tpl index 4d5b3b3628..8ab30c60cc 100644 --- a/templates/CRM/Contact/Form/Selector.tpl +++ b/templates/CRM/Contact/Form/Selector.tpl @@ -148,7 +148,7 @@ {literal} CRM.$(function($) { // Clear any old selection that may be lingering in quickform - $("input.select-row, input.select-rows", 'form.crm-search-form').prop('checked', false); + $("input.select-row, input.select-rows", 'form.crm-search-form').prop('checked', false).closest('tr').removeClass('crm-row-selected'); // Retrieve stored checkboxes var cids = {/literal}{$selectedContactIds|@json_encode}{literal}; if (cids.length > 0) { -- 2.25.1