* Import gitlab issue to task(staging).

This commit is contained in:
dingguodong
2021-07-06 16:31:43 +08:00
parent ec86c142ef
commit 9ab1e4541f
7 changed files with 195 additions and 45 deletions
+18
View File
@@ -0,0 +1,18 @@
$(document).ready(function()
{
$('[name^=productList').change(function()
{
var execution = $(this);
host = execution.val();
if(host == '') return false;
executions = '';
url = createLink('gitlab', 'ajaxGetExecutionsByProduct', "host=" + host);
$.get(url, function(response)
{
execution = execution.parent().next().find('select');
execution.html('').append(response);
execution.chosen().trigger("chosen:updated");
});
});
});
-19
View File
@@ -1,19 +0,0 @@
$(document).ready(function()
{
$('[name^=gitlabID').change(function()
{
var gitlab = $(this);
host = gitlab.val();
if(host == '') return false;
projects = '';
url = createLink('repo', 'ajaxgetgitlabprojects', "host=" + host);
$.get(url, function(response)
{
project = gitlab.parent().next().find('select');
project.html('').append(response);
project.chosen().trigger("chosen:updated");
});
});
});