|
|
@ -36,6 +36,9 @@ define('composer/tags', function() {
|
|
|
|
var input = postContainer.find('.bootstrap-tagsinput input');
|
|
|
|
var input = postContainer.find('.bootstrap-tagsinput input');
|
|
|
|
input.autocomplete({
|
|
|
|
input.autocomplete({
|
|
|
|
delay: 100,
|
|
|
|
delay: 100,
|
|
|
|
|
|
|
|
open: function() {
|
|
|
|
|
|
|
|
$(this).autocomplete('widget').css('z-index', 20000);
|
|
|
|
|
|
|
|
},
|
|
|
|
source: function(request, response) {
|
|
|
|
source: function(request, response) {
|
|
|
|
socket.emit('topics.searchTags', {query: request.term, cid: postData.cid}, function(err, tags) {
|
|
|
|
socket.emit('topics.searchTags', {query: request.term, cid: postData.cid}, function(err, tags) {
|
|
|
|
if (err) {
|
|
|
|
if (err) {
|
|
|
|