From 89c69cdfc21c8fc997644ec3cfee9ca5020d700f Mon Sep 17 00:00:00 2001 From: Mitsuhiro Koga Date: Wed, 18 May 2016 02:14:08 +0900 Subject: [PATCH] Fix a missing ctype from test hook --- src/main/twirl/gitbucket/core/settings/edithooks.scala.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html index 0767fd75d..4253e127f 100644 --- a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html +++ b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html @@ -146,7 +146,7 @@ $(function(){ $("#test-modal-url").text(url) $("#test-report-modal").modal('show') $("#test-report").hide(); - var targetUrl = '@url(repository)/settings/hooks/test?url=' + encodeURIComponent(url) + '&token='; + var targetUrl = '@url(repository)/settings/hooks/test?url=' + encodeURIComponent(url) + '&ctype=' + ctype + '&token='; if (token) { targetUrl = targetUrl + encodeURIComponent(token); }