diff options
author | thomascube <thomas@roundcube.net> | 2012-05-04 10:06:37 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-05-04 10:06:37 +0000 |
commit | 5b04ddd6bc9e0af5f73694371cd3988b1d5be7e8 (patch) | |
tree | 18a2f23318ab3b0fd6f391cdd72d6542e199c485 | |
parent | c168dd38c6a7d2bbe756ad9613c7f21766fc33fd (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 c440d169e..487d718e3 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3812,7 +3812,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; post_data._source = source ? source : ''; |