13 lines
313 B
JavaScript
13 lines
313 B
JavaScript
$('#project').change(function()
|
|
{
|
|
$.get(createLink('doc', 'ajaxGetExecution', 'projectID=' + $(this).val()), function(data)
|
|
{
|
|
if(data)
|
|
{
|
|
$('#execution').replaceWith(data);
|
|
$('#execution_chosen').remove();
|
|
$('#execution').chosen();
|
|
}
|
|
});
|
|
});
|