mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-04 20:45:58 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user