diff options
author | friendica <info@friendica.com> | 2013-11-14 14:22:05 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-14 14:22:05 -0800 |
commit | 33f570a18784a2ff9069954cda2a0c531a415a24 (patch) | |
tree | dcf4fcf6fddcfe6271da7551dcb02a63052a9086 /library/jquery_ac/friendica.complete.js | |
parent | 49a392942cbea18432c44f227804e3cc8f5d79b0 (diff) | |
parent | e651ca8b07a1dd7083fd565c7b2403484390c3fe (diff) | |
download | volse-hubzilla-33f570a18784a2ff9069954cda2a0c531a415a24.tar.gz volse-hubzilla-33f570a18784a2ff9069954cda2a0c531a415a24.tar.bz2 volse-hubzilla-33f570a18784a2ff9069954cda2a0c531a415a24.zip |
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'library/jquery_ac/friendica.complete.js')
-rw-r--r-- | library/jquery_ac/friendica.complete.js | 3 |
1 files changed, 2 insertions, 1 deletions
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;
- $('<div id="' + this.mainContainerId + '" style="position:absolute;z-index:9999;"><div class="autocomplete-w1"><div class="autocomplete" id="' + autocompleteElId + '" style="display:none; width:300px;"></div></div></div>').appendTo('body');
+ $('<div id="' + this.mainContainerId + '" style="position:absolute;z-index:9999;"><div class="autocomplete-w1" id="'+this.id+'"><div class="autocomplete" id="' + autocompleteElId + '" style="display:none; width:300px;"></div></div></div>').appendTo('body');
this.container = $('#' + autocompleteElId);
this.fixPosition();
|