mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +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");
|
||||
}
|
||||
|
||||
if (!acDirURI) {
|
||||
// No directory to search, send a no match and return.
|
||||
if (!acDirURI || Services.io.offline) {
|
||||
// No directory to search or we are offline, send a no match and return.
|
||||
aListener.onSearchResult(this, this._result);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue