summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-08-18 18:03:54 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-08-18 18:03:54 +0200
commite833e8601f25756fdbdf8b06732f2a3d2fba53ae (patch)
treed62e4066b687b32909092f6b29163db47de42fbe /program/js/app.js
parent028734b25cfa2ee30a129710db0440617f9f3095 (diff)
Show icons (person, group) in autocomplete popup
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 845a48000..20ad93a1a 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4583,7 +4583,7 @@ function rcube_webmail()
id = i + this.env.contacts.length;
$('<li>').attr('id', 'rcmkSearchItem' + id)
.attr('role', 'option')
- .html(this.quote_html(text.replace(new RegExp('('+RegExp.escape(value)+')', 'ig'), '##$1%%')).replace(/##([^%]+)%%/g, '<b>$1</b>'))
+ .html('<i class="icon"></i>' + this.quote_html(text.replace(new RegExp('('+RegExp.escape(value)+')', 'ig'), '##$1%%')).replace(/##([^%]+)%%/g, '<b>$1</b>'))
.addClass(type || '')
.appendTo(ul)
.mouseover(function() { ref.ksearch_select(this); })