Commit 058e03059b105783bc1cadd89ae77d6eaad79cc2
Committed by
Sergio Oliveira
1 parent
8cf0d307
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/gitlab/templates/proxy/gitlab.html
| @@ -37,7 +37,14 @@ | @@ -37,7 +37,14 @@ | ||
| 37 | function(evt) { evt.stopPropagation(); } | 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 | $('div.panel-body div.automerge_widget').removeClass('hide'); | 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 | </script> | 49 | </script> |
| 43 | <script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> | 50 | <script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script> |