* Fix edit js bug.
This commit is contained in:
@@ -40,7 +40,7 @@ $(function()
|
||||
$.get(repoUrl, function(response)
|
||||
{
|
||||
$('#repoID').html('').append(response);
|
||||
$('#repo').chosen().trigger("chosen:updated");;
|
||||
$('#repoID').chosen().trigger("chosen:updated");;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
$(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