* Remove extra project selector in create view.
This commit is contained in:
@@ -8,14 +8,12 @@ $(function()
|
||||
|
||||
$.get(url, function(response)
|
||||
{
|
||||
$('#projectID').html('').append(response);
|
||||
$('#projectID').chosen().trigger("chosen:updated");;
|
||||
$('#sourceProject').html('').append(response);
|
||||
$('#sourceProject').chosen().trigger("chosen:updated");;
|
||||
});
|
||||
});
|
||||
|
||||
$('#projectID').change(function()
|
||||
$('#sourceProject').change(function()
|
||||
{
|
||||
$option = $(this).find('option:selected');
|
||||
$('#name').val($option.data('name'));
|
||||
|
||||
@@ -18,10 +18,6 @@
|
||||
<th><?php echo $lang->repo->gitlabHost;?></th>
|
||||
<td class='required'><?php echo html::select('gitlabID', $gitlabHosts, '', "class='form-control' placeholder='{$lang->repo->placeholder->gitlabHost}'");?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->repo->gitlabProject;?></th>
|
||||
<td class='required'><?php echo html::select('projectID', array(''), '', "class='form-control chosen'");?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->mr->sourceProject;?></th>
|
||||
<td class='required'>
|
||||
|
||||
Reference in New Issue
Block a user