Commit c2f64d47 authored by Mathieu Lutfy's avatar Mathieu Lutfy Committed by Aegir user
Browse files

Update KAM to v1.2

parent 4baf94be
......@@ -14,8 +14,8 @@
<url desc="Support"></url>
<url desc="Licensing"></url>
......@@ -352,10 +352,14 @@
$('#crm-qsearch-input').attr({name: value, placeholder: '\uf002 ' + label});
$('.crm-quickSearchField').click(function() {
$('input', this).prop('checked', true);
CRM.cache.set('quickSearchField', $('input', this).val());
var input = $('input', this);
// Wait for event - its default was prevented by our link handler which interferes with checking the radio input
window.setTimeout(function() {
input.prop('checked', true);
CRM.cache.set('quickSearchField', input.val());
}, 1);
$('.crm-quickSearchField input[value="' + CRM.cache.get('quickSearchField', 'sort_name') + '"]').prop('checked', true);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment