mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
search: fix the "occured" search error typo
* Fixes the "occured" typo when the search endpoint is not reachable, as reported in the bug 1859259 Signed-off-by: Jiri Fiala <jfiala@redhat.com>
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
9aa7e4bba3
commit
e5f62ca4e5
@@ -62,7 +62,7 @@ function hcsearch(searchParams) {
|
||||
// GET success
|
||||
if (hcsearchresults == "") {
|
||||
// success, but no response (response code mismatch)
|
||||
$("#hc-search-result").append("<p><strong>An error occured while retrieving search results. Please try again later.</strong></p>");
|
||||
$("#hc-search-result").append("<p><strong>An error occurred while retrieving search results. Please try again later.</strong></p>");
|
||||
hcSearchIndicator.hide();
|
||||
}
|
||||
if (hcsearchresults.response.result) {
|
||||
@@ -99,7 +99,7 @@ function hcsearch(searchParams) {
|
||||
hcSearchIndicator.hide();
|
||||
}).fail(function(response) {
|
||||
// GET error
|
||||
hcSearchResult.append("<p><strong>An error occured while retrieving search results. Please try again later.</strong></p>");
|
||||
hcSearchResult.append("<p><strong>An error occurred while retrieving search results. Please try again later.</strong></p>");
|
||||
hcSearchIndicator.hide();
|
||||
});
|
||||
} // function hcsearch()
|
||||
Reference in New Issue
Block a user