diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-06-26 21:11:54 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-26 21:11:54 +0200 |
commit | 5a8de6e08bf6f2c8dbc0f17662281314ae2cfc9b (patch) | |
tree | 9a663178ae12eb9fa1900514a33657510e58b57d /js | |
parent | 7a61871a05c6e4e4df8313c4ba93143101cbb9be (diff) | |
download | bugzilla-5a8de6e08bf6f2c8dbc0f17662281314ae2cfc9b.tar.gz bugzilla-5a8de6e08bf6f2c8dbc0f17662281314ae2cfc9b.tar.xz |
Bug 1452096 - Some custom dropdown UI widgets stay fixed and don't move with scroll
Diffstat (limited to 'js')
-rw-r--r-- | js/comment-tagging.js | 2 | ||||
-rw-r--r-- | js/field.js | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/js/comment-tagging.js b/js/comment-tagging.js index 3897d46b8..44ca8b4ab 100644 --- a/js/comment-tagging.js +++ b/js/comment-tagging.js @@ -35,6 +35,8 @@ YAHOO.bugzilla.commentTagging = { if (!can_edit) return; $('#bz_ctag_add').devbridgeAutocomplete({ + appendTo: $('#main-inner'), + forceFixPosition: true, serviceUrl: function(query) { return 'rest/bug/comment/tags/' + encodeURIComponent(query); }, diff --git a/js/field.js b/js/field.js index 85011342d..a5e204f8d 100644 --- a/js/field.js +++ b/js/field.js @@ -713,6 +713,8 @@ $(function() { } var options_user = { + appendTo: $('#main-inner'), + forceFixPosition: true, serviceUrl: 'rest/elastic/suggest_users', params: { Bugzilla_api_token: BUGZILLA.api_token, @@ -792,6 +794,8 @@ $(function() { .each(function() { var that = $(this); that.devbridgeAutocomplete({ + appendTo: $('#main-inner'), + forceFixPosition: true, lookup: function(query, done) { var values = BUGZILLA.autocomplete_values[that.data('values')]; query = query.toLowerCase(); |