diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-14 13:18:36 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-14 13:18:36 +0000 |
| commit | ab48590e958409b775aaf3eb5ad5b6ccb05a37d1 (patch) | |
| tree | 3472a1b1dd96415a7c7df5fa6b071272a910da10 /roundcubemail/program/js | |
| parent | 4e9c7b3c07c021163c503a5f230a8d076a3dd9fc (diff) | |
- Fix autocomplete problem with capital letters (#1485792)
git-svn-id: https://svn.roundcube.net/trunk@2479 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 2fb6ce53e..da480aa67 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -2564,11 +2564,14 @@ function rcube_webmail() q = q.replace(/(^\s+|\s+$)/g, '').toLowerCase(); // Don't (re-)search if string is empty or if the last results are still active - if (!q.length || q == this.ksearch_value) + if (q == this.ksearch_value) return; - + this.ksearch_value = q; + if (!q.length) + return; + this.display_message(this.get_label('searching'), 'loading', true); this.http_post('autocomplete', '_search='+urlencode(q)); }; |
