diff options
author | pafcu <pafcu@iki.fi> | 2015-01-17 14:21:22 +0200 |
---|---|---|
committer | pafcu <pafcu@iki.fi> | 2015-01-17 14:21:22 +0200 |
commit | da94dbe3314f9f7d2b1296db417c0bf9e37b7e68 (patch) | |
tree | 4c077dd044fa5cc3bf7de783cb498526708c9ce4 | |
parent | 203c345bde0dc87b80e52ea1b055cd90996f1db5 (diff) | |
parent | 8c6576baa5d27fbc7b3c205a7fb38d345f55765e (diff) | |
download | volse-hubzilla-da94dbe3314f9f7d2b1296db417c0bf9e37b7e68.tar.gz volse-hubzilla-da94dbe3314f9f7d2b1296db417c0bf9e37b7e68.tar.bz2 volse-hubzilla-da94dbe3314f9f7d2b1296db417c0bf9e37b7e68.zip |
Merge pull request #858 from pafcu/master
Fix bug with groups and autocomplete
-rw-r--r-- | view/js/autocomplete.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 40a9cd4c8..3c35df860 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -54,6 +54,7 @@ function contact_format(item) { // Show contact information if not explicitly told to show something else if(typeof item.text === 'undefined') { var desc = ((item.label) ? item.nick + ' ' + item.label : item.nick) + if(typeof desc === 'undefined') desc = ''; if(desc) desc = ' ('+desc+')'; return "<div class='{0}' title='{4}'><img src='{1}'>{2}{3}</div>".format(item.taggable, item.photo, item.name, desc, item.link) } |