aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-29 16:12:39 -0800
committerfriendica <info@friendica.com>2013-12-29 16:12:39 -0800
commitc03c0724ed5190c720e8f6446c742d4078db43db (patch)
treeb60eca1ff5f2e4138d98a672c8db408c6c93dd55 /js
parentf36be066af66e4e21913de3e8b4da0c7a05349b1 (diff)
downloadvolse-hubzilla-c03c0724ed5190c720e8f6446c742d4078db43db.tar.gz
volse-hubzilla-c03c0724ed5190c720e8f6446c742d4078db43db.tar.bz2
volse-hubzilla-c03c0724ed5190c720e8f6446c742d4078db43db.zip
basic support for exclusion tags - we just need to use the results to tweak the ACL.
Diffstat (limited to 'js')
-rw-r--r--js/fk.autocomplete.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/fk.autocomplete.js b/js/fk.autocomplete.js
index 8bac41936..763ca354d 100644
--- a/js/fk.autocomplete.js
+++ b/js/fk.autocomplete.js
@@ -151,7 +151,7 @@ ACPopup.prototype.onkey = function(event){
}
function ContactAutocomplete(element,backend_url){
- this.pattern=/@([^ \n]+)$/;
+ this.pattern=/@(\!*)([^ \n]+)$/;
this.popup=null;
var that = this;
@@ -170,7 +170,7 @@ function ContactAutocomplete(element,backend_url){
if (that.popup===null){
that.popup = new ACPopup(this, backend_url);
}
- if (that.popup.ready && match[1]!==that.popup.searchText) that.popup.search(match[1]);
+ if (that.popup.ready && match[2]!==that.popup.searchText) that.popup.search(match[2]);
if (!that.popup.ready) that.popup=null;
} else {