projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de840a0
)
CRM-20679 Spin the civi logo while quicksearch is running
author
kryptothesuperdog
<wandwaver@gmail.com>
Sat, 3 Jun 2017 21:18:35 +0000
(22:18 +0100)
committer
GitHub
<noreply@github.com>
Sat, 3 Jun 2017 21:18:35 +0000
(22:18 +0100)
templates/CRM/common/navigation.js.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/common/navigation.js.tpl
b/templates/CRM/common/navigation.js.tpl
index d6c6912f50ab7084002e8b18a8249ec13d9a8b7d..cb98d0644bd09a5146bf25a804b815b09fe211f4 100644
(file)
--- 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) {