diff options
author | alecpl <alec@alec.pl> | 2009-09-22 07:35:28 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-22 07:35:28 +0000 |
commit | bc1296f729365561975893f218bdf01319f67552 (patch) | |
tree | 422134706f9655bd3ce180c0d0df96bdeaa643c9 | |
parent | 3e2bc6a975303bfb1ac656c5431d30c4aae82289 (diff) |
- don't change case of autocomplete search to lower (per discussion for #1485792)
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js index 2d0be0f31..66ba75c47 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2632,7 +2632,7 @@ function rcube_webmail() return; // get cursor pos - var inp_value = this.ksearch_input.value.toLowerCase(); + var inp_value = this.ksearch_input.value; var cpos = this.get_caret_pos(this.ksearch_input); var p = inp_value.lastIndexOf(this.ksearch_value, cpos); @@ -2664,7 +2664,7 @@ function rcube_webmail() var q = inp_value.substring(p+1, cpos); // trim query string - q = q.replace(/(^\s+|\s+$)/g, '').toLowerCase(); + q = q.replace(/(^\s+|\s+$)/g, ''); // Don't (re-)search if the last results are still active if (q == this.ksearch_value) |