diff --git a/src/main/twirl/gitbucket/core/account/newrepo.scala.html b/src/main/twirl/gitbucket/core/account/newrepo.scala.html index 6f6397b..d094a55 100644 --- a/src/main/twirl/gitbucket/core/account/newrepo.scala.html +++ b/src/main/twirl/gitbucket/core/account/newrepo.scala.html @@ -39,7 +39,7 @@
- +
-
+
@@ -83,4 +98,8 @@ $('#owner-dropdown span.strong').html($(this).find('span').html()); }); + +$('input[name=createRepository]').click(function(){ + $('#existingRepositoryUrl').prop('disabled', $('input[name=createRepository]:checked').val() != 'COPY'); +});