mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 21:45:50 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -146,7 +146,7 @@ $(function(){
|
|||||||
$("#test-modal-url").text(url)
|
$("#test-modal-url").text(url)
|
||||||
$("#test-report-modal").modal('show')
|
$("#test-report-modal").modal('show')
|
||||||
$("#test-report").hide();
|
$("#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) {
|
if (token) {
|
||||||
targetUrl = targetUrl + encodeURIComponent(token);
|
targetUrl = targetUrl + encodeURIComponent(token);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user