From 3311fe481352e30206c5d9c593f158814be9ca0b Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 14 Nov 2013 18:03:16 +0100 Subject: make autocomplete better themable by adding an id --- library/jquery_ac/friendica.complete.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'library') diff --git a/library/jquery_ac/friendica.complete.js b/library/jquery_ac/friendica.complete.js index b73598575..190625e87 100644 --- a/library/jquery_ac/friendica.complete.js +++ b/library/jquery_ac/friendica.complete.js @@ -35,6 +35,7 @@ this.ignoreValueChange = false; this.serviceUrl = options.serviceUrl; this.isLocal = false; + this.id = options.id; this.options = { autoSubmit: false, minChars: 1, @@ -77,7 +78,7 @@ if (!this.options.width) { this.options.width = this.el.width(); } this.mainContainerId = 'AutocompleteContainter_' + uid; - $('
').appendTo('body'); + $('
').appendTo('body'); this.container = $('#' + autocompleteElId); this.fixPosition(); -- cgit v1.2.3