aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/fk.autocomplete.js1
-rwxr-xr-xjs/main.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/js/fk.autocomplete.js b/js/fk.autocomplete.js
index 509466bd9..69fe77e8c 100755
--- a/js/fk.autocomplete.js
+++ b/js/fk.autocomplete.js
@@ -103,6 +103,7 @@ ACPopup.prototype._search = function(){
}
else {
txt = tinyMCE.activeEditor.getContent();
+ // alert(that.searchText + ':' + t);
newtxt = txt.replace(that.searchText,t+' ');
tinyMCE.activeEditor.setContent(newtxt);
tinyMCE.activeEditor.focus();
diff --git a/js/main.js b/js/main.js
index a5d1214cb..c20455ad1 100755
--- a/js/main.js
+++ b/js/main.js
@@ -292,7 +292,7 @@
$('body').css('cursor', 'auto');
}
/* autocomplete @nicknames */
- $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
+ $(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
});
}