Commit 9925da16b8c910986e7229ab2599c0928aeb4930
Committed by
Sergio Oliveira
1 parent
40a63971
Exists in
master
and in
39 other branches
Fixed danger settings for gitlab projects
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
src/proxy/templates/proxy/gitlab.html
... | ... | @@ -37,7 +37,14 @@ |
37 | 37 | function(evt) { evt.stopPropagation(); } |
38 | 38 | ); |
39 | 39 | |
40 | + // Somehow when there's a merge request, all options just disapear | |
41 | + // so this fix makes it show up again | |
40 | 42 | $('div.panel-body div.automerge_widget').removeClass('hide'); |
43 | + | |
44 | + // Somehow the dangerous settings are not showing up for default | |
45 | + // but for a mistery, they come back to live if the first status is | |
46 | + // not-hide | |
47 | + $('div.danger-settings div.js-toggle-content').removeClass('hide'); | |
41 | 48 | }); |
42 | 49 | </script> |
43 | 50 | <script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> | ... | ... |