summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-08 08:54:30 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-08 08:54:30 +0000
commit167e4cb780ebaf87ad102defc3c33b50e6407422 (patch)
tree3879b282b58ce3bf235864406f3d0fedba782f5c /roundcubemail/program/js
parent10671138ad0fca755c34050cc2ec8f3d960953c2 (diff)
- Fix inserting autocomplete entry (with MT enebled)
git-svn-id: https://svn.roundcube.net/trunk@5027 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index e698e3164..9334dc8e2 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -3689,7 +3689,7 @@ function rcube_webmail()
li.innerHTML = text.replace(new RegExp('('+RegExp.escape(s_val)+')', 'ig'), '##$1%%').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/##([^%]+)%%/g, '<b>$1</b>');
li.onmouseover = function(){ ref.ksearch_select(this); };
li.onmouseup = function(){ ref.ksearch_click(this) };
- li._rcm_id = i;
+ li._rcm_id = this.env.contacts.length + i;
ul.appendChild(li);
maxlen -= 1;
}