Skip to content

Commit 0fbfa5b

Browse files
committed
Merge pull request #40 from colab-community/gitlab-fixes
Added workaround for adding group members
2 parents cdd61ed + b49b54e commit 0fbfa5b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/proxy/gitlab/templates/proxy/gitlab.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@
2626
{% block head_js %}
2727
<script type="text/javascript">
2828
$(function(){
29-
// Somehow when there's a merge request, all options just disapear
29+
// TODO: Somehow when there's a merge request, all options just disapear
3030
// so this fix makes it show up again
3131
$('div.panel-body div.automerge_widget').removeClass('hide');
3232

33-
// Somehow the dangerous settings are not showing up for default
33+
// TODO: Somehow the dangerous settings are not showing up for default
3434
// but for a mistery, they come back to live if the first status is
3535
// not-hide
3636
$('div.danger-settings div.js-toggle-content').removeClass('hide');
37+
38+
// TODO: For the same reason from the two walkarounds above
39+
$('div.new-group-member-holder').removeClass('hide');
3740
});
3841
</script>
3942
<script type="text/javascript" src="{% static 'third-party/bootstrap/js/bootstrap.min.js' %}"></script>

0 commit comments

Comments
 (0)