From: Jitendra Purohit Date: Thu, 7 Aug 2014 05:03:07 +0000 (+0530) Subject: CRM-12872 Additional Fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=826611583cc58f4157a4e34595f3f33f35449d93;p=civicrm-core.git CRM-12872 Additional Fix --- diff --git a/js/Common.js b/js/Common.js index 9d7961abef..317b627939 100644 --- a/js/Common.js +++ b/js/Common.js @@ -516,6 +516,9 @@ CRM.strings = CRM.strings || {}; } }) .find('input.select-row:checked').parents('tr').addClass('crm-row-selected'); + if ($("input:radio[name=radio_ts]").size() == 1) { + $("input:radio[name=radio_ts]").prop("checked", true); + } $('.crm-select2:not(.select2-offscreen, .select2-container)', e.target).crmSelect2(); $('.crm-form-entityref:not(.select2-offscreen, .select2-container)', e.target).crmEntityRef(); // Cache Form Input initial values