Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
UK Postcodes
Commits
ffcea415
Unverified
Commit
ffcea415
authored
Nov 28, 2018
by
mattwire
Committed by
GitHub
Nov 28, 2018
Browse files
Merge pull request #28 from mattwire/always_hide_spinner
Always hide spinner whether or not AJAX call is successful
parents
641bfd31
eb6f1ff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/CRM/Civicrmpostcodelookup/Form/Postcodelookup.tpl
View file @
ffcea415
...
...
@@ -186,6 +186,8 @@ function findAddressValues(id , blockNo, blockPrefix) {
success
:
function
(
data
)
{
setAddressFields
(
data
.
address
,
blockNo
,
blockPrefix
);
setAddressFields
(
true
,
blockNo
,
blockPrefix
);
},
complete
:
function
(
data
)
{
cj
(
'
#loaderimage_
'
+
blockNo
).
hide
();
}
});
...
...
templates/CRM/Contact/Form/Edit/Address/street_address.tpl
View file @
ffcea415
...
...
@@ -130,6 +130,8 @@ function findAddressValues(id , blockNo) {
success
:
function
(
data
)
{
setAddressFields
(
data
.
address
,
blockNo
);
setAddressFields
(
true
,
blockNo
);
},
complete
:
function
(
data
)
{
cj
(
'
#loaderimage_
'
+
blockNo
).
hide
();
}
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment