aboutsummaryrefslogtreecommitdiffstats
path: root/js/fk.autocomplete.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-10 17:58:56 -0700
committerfriendica <info@friendica.com>2012-10-10 17:58:56 -0700
commit794c92a8fb789f604c869e9adabf5aae24cd90d6 (patch)
treea9a905f2729ef70d19e62bea2b2849a05230670b /js/fk.autocomplete.js
parent602960460a6206f20ec9cb69b3f5214391b8ddc4 (diff)
downloadvolse-hubzilla-794c92a8fb789f604c869e9adabf5aae24cd90d6.tar.gz
volse-hubzilla-794c92a8fb789f604c869e9adabf5aae24cd90d6.tar.bz2
volse-hubzilla-794c92a8fb789f604c869e9adabf5aae24cd90d6.zip
wall posts now display - address book structure revamp started
Diffstat (limited to 'js/fk.autocomplete.js')
-rw-r--r--js/fk.autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/fk.autocomplete.js b/js/fk.autocomplete.js
index b1db92c41..fc41f9cbe 100644
--- a/js/fk.autocomplete.js
+++ b/js/fk.autocomplete.js
@@ -104,7 +104,7 @@ ACPopup.prototype._search = function(){
else {
txt = tinyMCE.activeEditor.getContent();
// alert(that.searchText + ':' + t);
- newtxt = txt.replace(that.searchText,t+' ');
+ newtxt = txt.replace('@' + that.searchText, '@' + t + ' ');
tinyMCE.activeEditor.setContent(newtxt);
tinyMCE.activeEditor.focus();
that.close();