From 7c71f889b9e25b2043d4f017876bd9b6afd36b07 Mon Sep 17 00:00:00 2001 From: Charles Oliveira <18oliveira.charles@gmail.com> Date: Thu, 25 Sep 2014 12:27:46 -0300 Subject: [PATCH] Fixed danger settings for gitlab projects --- src/proxy/templates/proxy/gitlab.html | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/src/proxy/templates/proxy/gitlab.html b/src/proxy/templates/proxy/gitlab.html index d75353d..0c883a5 100644 --- a/src/proxy/templates/proxy/gitlab.html +++ b/src/proxy/templates/proxy/gitlab.html @@ -37,7 +37,14 @@ function(evt) { evt.stopPropagation(); } ); + // Somehow when there's a merge request, all options just disapear + // so this fix makes it show up again $('div.panel-body div.automerge_widget').removeClass('hide'); + + // Somehow the dangerous settings are not showing up for default + // but for a mistery, they come back to live if the first status is + // not-hide + $('div.danger-settings div.js-toggle-content').removeClass('hide'); }); -- libgit2 0.21.2