From f0908f2ad92832f33b5e761f3c613a0cfa7c503d Mon Sep 17 00:00:00 2001 From: kryptothesuperdog Date: Sat, 3 Jun 2017 22:18:35 +0100 Subject: [PATCH] CRM-20679 Spin the civi logo while quicksearch is running --- templates/CRM/common/navigation.js.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/CRM/common/navigation.js.tpl b/templates/CRM/common/navigation.js.tpl index d6c6912f50..cb98d0644b 100644 --- a/templates/CRM/common/navigation.js.tpl +++ b/templates/CRM/common/navigation.js.tpl @@ -92,6 +92,8 @@ $('#civicrm-menu').ready(function() { $('#sort_name_navigation') .autocomplete({ source: function(request, response) { + //start spinning the civi logo + $('.crm-logo-sm').addClass('crm-i fa-spin fa-pulse'); var option = $('input[name=quickSearchField]:checked'), params = { @@ -117,6 +119,8 @@ $('#civicrm-menu').ready(function() { ret.push({value: '0', label: msg}); } response(ret); + //stop spinning the civi logo + $('.crm-logo-sm').removeClass('crm-i fa-spin fa-pulse'); }) }, focus: function (event, ui) { -- 2.25.1