* Clear codes for sync gitlab issues.

This commit is contained in:
Guan Xiying
2021-07-29 15:11:31 +08:00
parent 5a859f383f
commit 4f3ede468c
3 changed files with 1 additions and 103 deletions

View File

@@ -168,21 +168,3 @@ $(function()
$(window).unload(function(){
if(blockID) window.parent.refreshBlock($('#block' + blockID));
});
$(document).ready(function()
{
$('#gitlab').change(function()
{
host = $('#gitlab').val();
if(host == '') return false;
projects = '';
$.each(gitlabProjects[host], function(id, obj){projects = projects + ',' + obj.gitlabProject});
url = createLink('repo', 'ajaxgetgitlabprojects', "host=" + host + "&projects=" + projects);
$.get(url, function(response)
{
$('#gitlabProject').html('').append(response);
$('#gitlabProject').chosen().trigger("chosen:updated");
});
});
});