thomascube
2012-05-04 5b04ddd6bc9e0af5f73694371cd3988b1d5be7e8
Fix multi-threaded autocompletion when number of threads > number of sources

1 files modified
2 ■■■ changed files
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -3812,7 +3812,7 @@
    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 : '';