diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-01-12 22:19:34 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-01-13 18:31:18 +0300 |
commit | 683ea89e04d115352b0411be79594475932edd6e (patch) | |
tree | 43c3fb959dce13d8c518bd89e1ab1e63d4e28bb4 /spec/javascripts/fixtures | |
parent | 3eebca7b5c8af599d4aec6f2b5b4905408079754 (diff) |
Use bootstrap dropdown events to only make the request when the dropdown is being opened
Fixes builds dropdown making request when clicked to be closed
Adds MR ID to CHANGELOG
Improve documentation
Use bootstrap dropdown events to only make the request when the dropdown is being opened
Diffstat (limited to 'spec/javascripts/fixtures')
-rw-r--r-- | spec/javascripts/fixtures/mini_dropdown_graph.html.haml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/javascripts/fixtures/mini_dropdown_graph.html.haml b/spec/javascripts/fixtures/mini_dropdown_graph.html.haml index e9bf7568e95..29370b974af 100644 --- a/spec/javascripts/fixtures/mini_dropdown_graph.html.haml +++ b/spec/javascripts/fixtures/mini_dropdown_graph.html.haml @@ -1,8 +1,9 @@ -%div.js-builds-dropdown-tests - %button.dropdown.js-builds-dropdown-button{'data-stage-endpoint' => 'foobar'} +%div.js-builds-dropdown-tests.dropdown.dropdown.js-mini-pipeline-graph + %button.js-builds-dropdown-button{'data-stage-endpoint' => 'foobar', data: { toggle: 'dropdown'} } Dropdown - %div.js-builds-dropdown-container - %div.js-builds-dropdown-list - %div.js-builds-dropdown-loading.builds-dropdown-loading.hidden + %ul.dropdown-menu.mini-pipeline-graph-dropdown-menu.js-builds-dropdown-container + .js-builds-dropdown-list.scrollable-menu + + .js-builds-dropdown-loading.builds-dropdown-loading.hidden %span.fa.fa-spinner.fa-spin |