* Fix create js bug.
This commit is contained in:
@@ -39,7 +39,7 @@ $(function()
|
||||
repoUrl = createLink('mr', 'ajaxGetRepoList', "gitlabID=" + gitlabID + "&projectID=" + sourceProject);
|
||||
$.get(repoUrl, function(response)
|
||||
{
|
||||
$('#repo').html('').append(response);
|
||||
$('#repoID').html('').append(response);
|
||||
$('#repo').chosen().trigger("chosen:updated");;
|
||||
});
|
||||
});
|
||||
@@ -61,18 +61,18 @@ $(function()
|
||||
});
|
||||
*/
|
||||
|
||||
$('#repo').change(function()
|
||||
$('#repoID').change(function()
|
||||
{
|
||||
repoID = $(this).val();
|
||||
jobUrl = createLink('mr', 'ajaxGetJobList', "repoID=" + repoID);
|
||||
$.get(jobUrl, function(response)
|
||||
{
|
||||
$('#job').html('').append(response);
|
||||
$('#job').chosen().trigger("chosen:updated");;
|
||||
$('#jobID').html('').append(response);
|
||||
$('#jobID').chosen().trigger("chosen:updated");;
|
||||
});
|
||||
});
|
||||
|
||||
$('#job').change(function()
|
||||
$('#jobID').change(function()
|
||||
{
|
||||
jobID = $(this).val();
|
||||
compileUrl = createLink('mr', 'ajaxGetCompileList', "job=" + jobID);
|
||||
|
||||
Reference in New Issue
Block a user