mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 00:27:29 +09:00
Bug 1508046 - return cleanly in LDAP autocomplete search if we are offline.
Tag #1273
This commit is contained in:
parent
8525e02caf
commit
07b587d4ed
1 changed files with 2 additions and 2 deletions
|
|
@ -208,8 +208,8 @@ nsAbLDAPAutoCompleteSearch.prototype = {
|
||||||
acDirURI = Services.prefs.getCharPref("ldap_2.autoComplete.directoryServer");
|
acDirURI = Services.prefs.getCharPref("ldap_2.autoComplete.directoryServer");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!acDirURI) {
|
if (!acDirURI || Services.io.offline) {
|
||||||
// No directory to search, send a no match and return.
|
// No directory to search or we are offline, send a no match and return.
|
||||||
aListener.onSearchResult(this, this._result);
|
aListener.onSearchResult(this, this._result);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue