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 | |
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
-rw-r--r-- | extensions/BugModal/web/bug_modal.js | 2 | ||||
-rw-r--r-- | extensions/BugModal/web/comments.js | 2 | ||||
-rw-r--r-- | extensions/BugModal/web/common_bug_modal.js | 2 | ||||
-rw-r--r-- | extensions/ProdCompSearch/web/js/prod_comp_search.js | 2 | ||||
-rw-r--r-- | js/comment-tagging.js | 2 | ||||
-rw-r--r-- | js/field.js | 4 | ||||
-rw-r--r-- | skins/standard/global.css | 1 |
7 files changed, 15 insertions, 0 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index 1cc3dd9a3..300ebd3ae 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -559,6 +559,8 @@ $(function() { keywords = data.keywords; $('#keywords') .devbridgeAutocomplete({ + appendTo: $('#main-inner'), + forceFixPosition: true, lookup: function(query, done) { query = query.toLowerCase(); var matchStart = diff --git a/extensions/BugModal/web/comments.js b/extensions/BugModal/web/comments.js index 04894506e..85c5a2368 100644 --- a/extensions/BugModal/web/comments.js +++ b/extensions/BugModal/web/comments.js @@ -355,6 +355,8 @@ $(function() { $('#ctag-add') .devbridgeAutocomplete({ + appendTo: $('#main-inner'), + forceFixPosition: true, serviceUrl: function(query) { return 'rest/bug/comment/tags/' + encodeURIComponent(query); }, diff --git a/extensions/BugModal/web/common_bug_modal.js b/extensions/BugModal/web/common_bug_modal.js index dc91824f6..6cd658045 100644 --- a/extensions/BugModal/web/common_bug_modal.js +++ b/extensions/BugModal/web/common_bug_modal.js @@ -509,6 +509,8 @@ $(function() { keywords = data.keywords; $('#keywords') .devbridgeAutocomplete({ + appendTo: $('#main-inner'), + forceFixPosition: true, lookup: function(query, done) { query = query.toLowerCase(); var matchStart = diff --git a/extensions/ProdCompSearch/web/js/prod_comp_search.js b/extensions/ProdCompSearch/web/js/prod_comp_search.js index 1b7e396a8..30351a3db 100644 --- a/extensions/ProdCompSearch/web/js/prod_comp_search.js +++ b/extensions/ProdCompSearch/web/js/prod_comp_search.js @@ -66,6 +66,8 @@ $(function() { params.Bugzilla_api_token = BUGZILLA.api_token; } that.devbridgeAutocomplete({ + appendTo: $('#main-inner'), + forceFixPosition: true, serviceUrl: function(query) { return 'rest/prod_comp_search/' + encodeURIComponent(query); }, 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(); diff --git a/skins/standard/global.css b/skins/standard/global.css index 0b40fcb2a..48d79366a 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -1308,6 +1308,7 @@ hr { } #main-inner { + position: relative; margin: 15px 0; } |