diff options
author | thomascube <thomas@roundcube.net> | 2012-05-04 10:06:37 +0000 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-05-08 12:13:22 +0200 |
commit | be160b9da23e77996e7c83a3f5c5158aa7e22d17 (patch) | |
tree | 9dd5e200df8b7c6eb484337e374a9cad04b6370a | |
parent | 60d9c79f910bb655f08ab39d7fb7fe1ded7a6753 (diff) |
Fix multi-threaded autocompletion when number of threads > number of sources
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index f593b32bc..2a47fa985 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3796,7 +3796,7 @@ function rcube_webmail() for (i=0; i<threads; i++) { source = this.ksearch_data.sources.shift(); - if (threads > 1 && source === null) + if (threads > 1 && source === undefined) break; lock = this.display_message(this.get_label('searching'), 'loading'); |